-
April 24th, 2013, 01:44 PM
#1
Swapping files with a batch command
Hi,
I have a batch file that I am trying to simply swap files in one directory with another directory. For example, I have two directories (Test and Test2)...
In my batch file, I wrote
move "H:\Test\*" "H:\Test2\"
move "H:\Test2\*" "H:\Test\"
However, this moves the files in the "Test" directory into the "Test2" directory, then moves all those files from "Test2" to "Test".
Now all files are in "Test"
How can I make it simply swap directories?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|