Tech Support banner

Status
Not open for further replies.
1 - 4 of 4 Posts

·
Registered
Joined
·
6 Posts
Discussion Starter #1
I have a folder titled DVEVI6. In the folder are 10 sub folders. How can I write a batch file to copy all the contents of the DVEVI6 folder from one drive to another and automatically overwrite any existing files that may be present?
 

·
Registered
Joined
·
4,890 Posts
Try this ...

open notepad and type in the following (italics mean you need to find the right value):

xcopy drive:\path\dvevi6 drive:\path /s/e/c/f/y

Save this as dvevi6.bat

The italicized drive:\path are the source and destination paths.
 

·
Registered
Joined
·
6 Posts
Discussion Starter #3
Switches /e /r /h /y

what do the switches /e /r /h /y Stand for? There must be a webpage that lists all these. I have gone to various DOS pages but can't find these. Any help greatly appreciated.
 
1 - 4 of 4 Posts
Status
Not open for further replies.
Top