Computing.Net > Forums > Windows 2000 > xcopy batch file to copy to share and not overwrite same files

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.

xcopy batch file to copy to share and not overwrite same files

Reply to Message Icon

Name: Dan genn
Date: February 13, 2001 at 07:29:44 Pacific
Comment:

I am looking for a way to xcopy files from one share to another using a batch file. I would like the copy to not prompt or overwrite files that are the same in the destination directory. Any help is appreciated thanks!



Sponsored Link
Ads by Google

Response Number 1
Name: Bret
Date: February 13, 2001 at 11:03:02 Pacific
Reply:

Don't use XCOPY. There is a little known utility from the DOS days called replace. Replace lets you only copy files that aren't there, or update files with a newer date. Go to a cmd prompt and type replace /? to see the usage.


0

Response Number 2
Name: perry
Date: February 13, 2001 at 14:40:31 Pacific
Reply:

or if you have the Resource Kit use Robocopy. Type robocopy /??? for information at a CMD prompt.



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 Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: xcopy batch file to copy to share and not overwrite same files

Batch file to rename and delete dir www.computing.net/answers/windows-2000/batch-file-to-rename-and-delete-dir/60673.html

Batch file to delete all the folder www.computing.net/answers/windows-2000/batch-file-to-delete-all-the-folder/37285.html

Batch file to delete the temp files www.computing.net/answers/windows-2000/batch-file-to-delete-the-temp-files/33636.html