Computing.Net > Forums > Programming > Batch file to copy from network dri

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

Reply to Message Icon

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



Sponsored Link
Ads by Google

Response Number 1
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?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch file to copy from network dri

batch file to copy and move certain www.computing.net/answers/programming/batch-file-to-copy-and-move-certain/11052.html

batch file to copy & increment www.computing.net/answers/programming/batch-file-to-copy-increment/18184.html

Batch file to copy to many folders www.computing.net/answers/programming/batch-file-to-copy-to-many-folders/16371.html