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

steve picture steve · May 12, 2013 · Viewed 42.1k times · Source

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

Answer

Razvan picture Razvan · May 5, 2016

Or you could try robocopy with /MOVE argument:

robocopy C:\old\folder F:\new\folder /E /MOVE