问题
Hi there i'm using the windows 7 'move' command like so:
move /Y "C:\old.sub.folder\folder.i.want.to.move" "F:\new.sub.folder\folder.i.want.to.move"
and i keep getting an 'accessed denied' error yet i have full permissions and the folder i'm trying to move isn't open or being uses?
a random example trying to move one empty folder to another: http://puu.sh/2Rx6b.png
any ideas?
thanks
回答1:
Or you could try robocopy
with /MOVE
argument:
robocopy C:\old\folder F:\new\folder /E /MOVE
回答2:
Syntax is:
MOVE [/Y| /-Y] [Drive:][Path]Folder1 Folder2
That means, you can rename one folder, but you cannot "move" contents to another drive.
I'm afraid, you have to copy your source-folder to the destination-folder (xcopy) and then delete the source-folder
来源:https://stackoverflow.com/questions/16502283/how-do-i-fix-access-denied-with-the-move-command-in-windows-7