Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Can't delete folder in Windows 7

18 Nov 2009   #11
Uber Philf

W7 RTM Ultimate x64
 
 

Quote   Quote: Originally Posted by kegobeer View Post
Quote   Quote: Originally Posted by Uber Philf View Post
OR IN the Command Prompt.

Code:
 
 
G:
rd graphics
In DOS, the rd command will not work if there are files/folders contained within the directory. As there is a subdirectory inside GRAPHICS, the rd GRAPHICS command will fail. To remove a directory that contains other files/directories, the /S switch is required (use the /Q switch in order to not ask if it is ok to delete each folder).

Opps, my bad, thanks for the clear-up


My System SpecsSystem Spec
.
18 Nov 2009   #12
kegobeer

Windows 7 Ultimate x64 SP1
 
 

^^^^ No problem. It's easy to forget all of the switches when you don't use DOS constantly. I didn't remember until I read your post!
My System SpecsSystem Spec
18 Nov 2009   #13
tulsa40

Windows 7
 
 

That did the trick: I had to use the /S switch because there were files in that folder. (Though files that I couldn't even see in DOS.) And I had to add the /P switch while getting the folder names because there were so many folders.

Thanks everyone. I really (really!) appreciate the help -- I couldn't have done it without your help. Now my back is proceeding smoothly.
My System SpecsSystem Spec
.

18 Nov 2009   #14
kegobeer

Windows 7 Ultimate x64 SP1
 
 

Glad it worked.
My System SpecsSystem Spec
18 Nov 2009   #15
Uber Philf

W7 RTM Ultimate x64
 
 

Fantastic!, good work Kego.
My System SpecsSystem Spec
28 Jan 2010   #16
shrimpkebab

 
 

Quote   Quote: Originally Posted by kegobeer View Post
Quote   Quote: Originally Posted by kegobeer View Post
To switch to the G drive, simply type g:

Use the following commands, after opening up a command prompt:

Code:
g:
cd graphics
dir /x
The 8.3 names will be listed in the column immediately before the long filename column. Use the rd command with the 8.3 name. For example:

Code:
rd VIRTUA~1
If you receive an error, use the /S switch, which will remove all files and subdirectories, along with the parent directory, as I described in my reply to Uber Philf.

Code:
rd VIRTUA~1 /S
I registered to these forums only so that i could thank you for this!
I had a folder with 0byte that could not be deleted or moved and it was driving me crazy cuss i tried lots of "solutions" i found on google that didnt work but this did! Thanks again!
My System SpecsSystem Spec
13 Mar 2010   #17
tautomer

Windows 7 - 64
 
 
thank you all...

Ive been battling with this for a week...

Ive tried: F5, lockhunter, indexing, linux live, cmd del<foldername>...

you guys are like my own personal jesus christ's

"rd <folder> /S" worked!!!!


thanks so much!
My System SpecsSystem Spec
13 Mar 2010   #18
motc7

 
 

If Killbox didn't work, try Unlocker which does good for me and is GUI based next time you have a problem that is similar.

UNLOCKER 1.8.9 BY CEDRICK 'NITCH' COLLOMB


Edit: Just read the rules again, is posting this link in this context considered advertising?
My System SpecsSystem Spec
13 Mar 2010   #19
wullthebull

 

the above link is unsafe according to my ie8 browswer
My System SpecsSystem Spec
13 Mar 2010   #20
motc7

 
 

Quote   Quote: Originally Posted by wullthebull View Post
the above link is unsafe according to my ie8 browswer
A lot of sites popup unsafe.

It's on CNET too just as an FYI. That link above is the actual developer site.

My question was not whether it was safe or not, which i would never intentionally post an unsafe link, but whether it's considered advertising in the context by which it was posted.
My System SpecsSystem Spec
Reply

 Can't delete folder in Windows 7




Thread Tools




Similar help and support threads
Thread Forum
i can't delete a folder in windows 7?
Hi, I am new to this site so if i post on wrong section I'm sorry. Anyway i am having a big problem with my window 7 Pro. I can't delete some folder/files ect... If i try to delete the folder it say "You need permission to perform this action" but I'm the only administrator on this PC. I try...
General Discussion
cant delete windows.old folder
i cant delete all from that folder there is pop up " Files arent in this location" (something like that :) .I tried in safe mode but same result.Any suggestion?
General Discussion
Windows 7 won't let me delete a folder?
For some reason, Windows 7 won't let me delete my Windows Media Player folder. Each time I try to delete the folder, a message comes up that says "You need permission to perform this action from to make changes to this folder. When i click "try again" it still pops up. It doesn't ask for a...
System Security
Can't delete windows.old folder ??
Hello there, i recently tried out windows 8 and reinstalled windows 7. i currently have a windows.old folder in my C: disc. how do i delete it? wI have editted the priveleges for my user (admin). when i delete it, it says; http://gyazo.com/033ec12136da16ad2423d8b1248f98d5.png i only...
General Discussion
How to delete Windows folder? (not old)
okay first let me explain why i want to delete this "Windows" folder i don't want to talk about the other reason why cause its a bit long story-short..the "Windows" is in my 2nd HDD which act as my extra HDD so i don't need the "Windows" folder which contains 10GB and i can't delete it i tried the...
General Discussion
HOW DO I DELETE MY WINDOWS.OLD FOLDER?
I just upgraded from Vista to 7 and am trying to delete my windows.old folder. However I am having trouble doing so. I keep getting messages saying I need permission from either trustedinstaller or system. I've tried to change the permissions by going to properties>security but I get an "Error...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:02.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App