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
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!
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.
Summary: Hi there. I may have posted this in the wrong topic area before, so I thought I would try moving it here. I have just recently found myself in the realm of writing batch files, so bear with my in my i...
Summary: Then you must be writing the batch file wrong. Let's say you have the shared folder: \\server_name\share with several folders underneath it. ex: folder1, folder2 folder3 You want to delete folder1 ...
Summary: Hi i have 7 computers running w2k as client and one server. I would like to ceate a batch file to delete the temp,histroy,cookies and temporary internet files everytime they logoff. here is what i hav...