![]()
[<<]Message[>>] [<<]Author[>>] Subject Thread
Number : 7180 Date : 2004-02-05 Author : Doc Subject : got it to work Size(KB) : 1
I got the batch file to work by placing the exclude.txt in the root of the drive and editing the file to reflect that, I don't know why but it works. It's supposed to create a folder based on the users name, but it isn't. Not a big deal, but it would be nice if it did. Here is what it looks like now: Any suggestions? TIA Doc @echo off ::: by kmh 5/25/01 ::::modified by sdf 1/29/03 ::: This copies files from user PC's to a network share with explicit exclusions. ::: See exclude.txt for list of excluded files. ::: Context for using this file is: Roll (username) ::: Where username (without parenthesis) is the name of the primary user of the PC. net use y: \\your_server_name_here\roll$ MD Y:\%1 date /t >>Y:\%1\timer.txt time /t >>Y:\%1\timer.txt xxcopy c:\*.* Y:\%1 /KS /EXt:\exclude.txt /S /Y /CK0 /oN 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 SA44SNTSW\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.