Batch File Help
-
- Posts: 1741
- Joined: Wed Jul 23, 2003 7:00 am
Batch File Help
I am trying to write a batch file that will copy files from one location to another. The files will be overwriting files in the destination. Everything I try seems to not work. Any ideas?
[size=92][color=#0000FF]Hugh Hefner for President[/color][/size]
-
- Posts: 1741
- Joined: Wed Jul 23, 2003 7:00 am
Well due to the sensitivity of the files, I can't divulge their true names and locations.
G:\file1.ext and G:\file2.ext need to both go to C:\Program Files\Program\Information\
I use quotations around the files and tried /Y, and /V, but they wont overwrite the file1 and file2 already in the Information folder.
The files from G: also need to be deleted after trasfer, but I can just use del G:\file1.ext
G:\file1.ext and G:\file2.ext need to both go to C:\Program Files\Program\Information\
I use quotations around the files and tried /Y, and /V, but they wont overwrite the file1 and file2 already in the Information folder.
The files from G: also need to be deleted after trasfer, but I can just use del G:\file1.ext
[size=92][color=#0000FF]Hugh Hefner for President[/color][/size]
-
- Posts: 1741
- Joined: Wed Jul 23, 2003 7:00 am