Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
07-11-2012, 12:59 AM #1
- Join Date
- Jul 2012
- Thanked 0 Times in 0 Posts
having problems with spaces in file/folder name with 'for' command
hi all i'm trying to use the 'for' command along with 'move' to help move all .rar files from one folder to another but some files have spaces and don't get moved as the spaces break the script
i've tried adding " to the folder path but that didn't work any ideas?
this is what i have so far:
for /F %%f in ("F:\old\*.rar") do move "%%f" "F:\new\"