how do i fix: 'access denied' with the move command in windows 7?

孤街浪徒 提交于 2019-11-29 18:12:54

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!