Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Batch file to copy from network dri
Name: Imigry Date: June 30, 2006 at 04:24:44 Pacific OS: XP sp2 CPU/Ram: 1.6Ghz/256mb Product: Legacy
Comment:
I would like to create a batch file to copy from one network drive to another. \\Desktop\shareddocs\dir1\file1 to c:\douments and settings\all users\documents\file1. It is to overwrite/update the existing file
Name: Shr0Om Date: June 30, 2006 at 06:05:33 Pacific
Reply:
That can be done with Xcopy. Type XCOPY /? in cmd for a list of avaible options.
To use in a batch, just paste the command in notepad, and save the file as a .bat or .cmd
0
Response Number 2
Name: Imigry Date: July 2, 2006 at 19:02:32 Pacific
Reply:
The copy process is easy enough, it is the directing to the network drive that is giving me grief. I keep getting a parse error. I would just drag the file over to update it, but this has to be simple enough for someone who is not that sure on how to open anything.
0
Response Number 3
Name: Shr0Om Date: July 3, 2006 at 01:49:22 Pacific
Reply:
Dont you have the network drive letter assigned in windows?
Summary: I need a batch file to loop through a list of jpgs in a folder, & move them to folders created based on their file names in the following convention: The folder names will be based on the first 8 char...
Summary: While Ivo's code does exactly what the requirement specification says, this looks like a Y2.01k bug. The year 2010 is less than two years away. How long do you want your batch file to work for? ...