delete folder
I am unable to delete a folder on my e: drive I tried rd foldername /s /q and get folder is nto empty. Any suggestions ?
June 12th, 2011 9:12am

Have you tried using a graphical interface (Win Explorer, all manners of Open/Save-dialogs)? I'm not terribly familiar with Windows' command line, so I have no help for you there. If it were Linux, though, I'd sudo rm -R <folder> (sudo for administrative rights, if it's a protected folder). Always does the trick. So, is that command for deleting directories, or files? rmdir in Linux has an option for going ahead and removing folders that aren't empty, but rm -R is, well, maybe a tenth as long an invocation. Hm, how about just del <folder>? Or erase?
Free Windows Admin Tool Kit Click here and download it now
June 12th, 2011 1:24pm

Try performing that using an elevated prompt. This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. Microsoft Student Partner 2010 / 2011 Microsoft Certified Professional Microsoft Certified Systems Administrator: Security Microsoft Certified Systems Engineer: Security Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration Microsoft Certified Technology Specialist: Windows 7, Configuring Microsoft Certified IT Professional: Enterprise Administrator
June 12th, 2011 1:26pm

On Sun, 12 Jun 2011 13:06:50 +0000, DavidSexton wrote: I am unable to delete a folder on my e: drive I tried rd foldername /s /q and get folder is nto empty. Any suggestions ? What is the name of the folder you are trying to delete? Ken Blake, Microsoft MVP
Free Windows Admin Tool Kit Click here and download it now
June 12th, 2011 4:06pm

Hi DavidSexton, Logon as administrator, then try to take ownership of this folder then delete it. (If it's not a system file. What's the folder name?). 1. Right-click the folder, choose Properties - Security tab 2. Click Advanced near bottom. In the Owner tab, click Edit, choose your user name, and check "Replace owner on subcontainers and objects" 3. Click Apply and OK. Then delete again to check if it works. Regards, Miya This posting is provided "AS IS" with no warranties, and confers no rights. | Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
June 15th, 2011 3:20am

I tried that also. I booted from the windows 7 CD then used the command line to delete it. Problem solved Thanks to ever one who provided some input.
Free Windows Admin Tool Kit Click here and download it now
June 21st, 2011 11:11am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics