I thought to share, perhaps can save someoene else an hour or 2...
I had a pickle of a time deleting a destination folder on my drive that I created by an incorrect syntax of robocopy.
here is what I ran:
robocopy "c:\sourcefolder" "d:\destfolder /s /e"
Notice that i put the quote AFTER the /s /e options, (correct syntax should have been: robocopy "c:\sourcefolder" "d:\destfolder" /s /e
If you run that though, (with the wrong syntax), you get a folder on the destination side that you can NOT delete. (not from explorer, command prompt, etc..)
After an hour or so of chkdsk's, lots of rmdir, re-applying permissions, installing unlockers, rebooting into safeomde, etc.. I finally figured it out.
You have to type from the command prompt:
rmdir /s "d:\destfolder /"
Hope this helps someone.
-E
I had a pickle of a time deleting a destination folder on my drive that I created by an incorrect syntax of robocopy.
here is what I ran:
robocopy "c:\sourcefolder" "d:\destfolder /s /e"
Notice that i put the quote AFTER the /s /e options, (correct syntax should have been: robocopy "c:\sourcefolder" "d:\destfolder" /s /e
If you run that though, (with the wrong syntax), you get a folder on the destination side that you can NOT delete. (not from explorer, command prompt, etc..)
After an hour or so of chkdsk's, lots of rmdir, re-applying permissions, installing unlockers, rebooting into safeomde, etc.. I finally figured it out.
You have to type from the command prompt:
rmdir /s "d:\destfolder /"
Hope this helps someone.
-E