I use roboycopy to copy (to another hard drive) the entire IIS7 "inetpub" folder and I've since tweaked the script a little so it copies to a SkyDrive folder for cloud backup, but I cannot delete the older destination folder because there is a file that I cannot delete.

It is 500-100.asp. I cannot even change the permissions on it.

Any suggestions?


Try using Sysinternals handle.exe to identify what process has a lock on the file. http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.