Search found 3 matches
- 16 May 2013 20:50
- Forum: DOS Batch Forum
- Topic: Writing a Batch File to Move Files and Rename If Duplicate
- Replies: 1
- Views: 2650
Writing a Batch File to Move Files and Rename If Duplicate
I have the following code for a batch file: FOR /r "D:\A B C" %%f in (*.m4a) do MOVE /-Y "%%f" "D:\X Y Z" PAUSE The purpose of this code is to seek out all .m4a files, regardless of their names, move them from "D:\A B C" to "D:\X Y Z" which it does a...
- 14 May 2013 05:48
- Forum: DOS Batch Forum
- Topic: Batch File to Move/Del Files of Specific Extension
- Replies: 4
- Views: 7708
Re: Batch File to Move/Del Files of Specific Extension
FOR /R "D:\111 222 333" %%f in (*.mp3) DO MOVE "%%f" "D:\444 555 666" Worked for me. @psychoid69 WOW! Thank you! All I was missing was a simple set of quotations around the %%f! I knew I was overlooking something so unbelievably simple. Thank you everyone for all of yo...
- 13 May 2013 16:25
- Forum: DOS Batch Forum
- Topic: Batch File to Move/Del Files of Specific Extension
- Replies: 4
- Views: 7708
Batch File to Move/Del Files of Specific Extension
I apologize if this topic seems a little basic, but for the life of me, I can not get such a seemingly simple task to work! Here's the scenario: I have a folder WITH SPACES in its name. We'll call this folder "D:\Source Folder With Spaces." This folder also has many different sub-folders. ...