[<<]Message[>>]    [<<]Author[>>]        Subject            Thread    

Number : 7170 Date : 2004-02-04 Author : Doc Subject : I've got the batch file Size(KB) : 1
Sorry my lab is 2 floors down and has no internet connection, here is the batch file. I have a file called exclude.txt in the same folder as the batch file. Apparently this has worked fine for the other admin. I did make the share hidden ($) as that what appears to be stated in the net use line. Any suggestions would be greatly appreciated. AWN @echo off ::: by kmh 5/25/01 ::::modified by sdf 1/29/03 ::: changed again by kmh 1/17/04 ::: ::: This copies files from user PC's to a network share with explicit exclusions. ::: See exclude.txt for list of excluded files. ::: ::: ::: net use b: \\server\roll$ MD b:\%1 date /t >>Y:\%1\timer.txt time /t >>Y:\%1\timer.txt xxcopy c:\*.* c:\%1 /KS /EXt:\roll\exclude.txt /S /Y /CK0 /oN Y:\%1 \copylog.txt /NX0 xxcopy d:\*.* Y:\%1 /KS /EXt:\roll\exclude.txt /S /Y /CK0 /oa Y:\%1 \copylog.txt /NX0 date /t >>Y:\%1\timer.txt time /t >>Y:\%1\timer.txt cls echo: echo: echo: :Echo: Press any key for a directory of server\ROLL$\%1. dir Y:%1 Echo: If Y:\%1 is empty or if there isn't a directory echo: for %1, repeat the ROLL procedure again.
This message if part of XXCOPY's message Archive. The archive contains all the messages posted at Yahoo!Groups: XXCOPY.