New
#1
Batch file to move folders from one drive to another.
What I am trying to do is make a batch file that will move folders that I have highlghted with a mouse, form the location where they are to a location specified in the batch file.
This is what I have so far
Extract2Reserve.bat
:again
if {%1}=={} goto :EOF
copy %1 D:\Reserve
shift
goto again
I have this in "SendTo". What I do is select the folders I want to move/copy, then Right -Click > SendTo > Extract2Reserve.bat
It sort of works but there are two problems with it
1. It copies the files from within the folders (not the folders themselves) and dump all those files together Reserve folder. I cannot figure out how to get it to copy them within their folders inot the Reserve folder
2. If I replace "Copy" with "Move" it doesn't work at all... it pops "Access is Denied". I want to be able to move those folders
Ultimately, I would like to be able to execute the batch file with a keypress so that it functions like the delete key except that it sends the folders to the Reserve folder instead of the Recycle Bin.
Can anyone spot if I have made some obvious error on that script.