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 folders


17 Apr 2010   #1

 
Can't delete folders

I installed Windows 7 and imported(copied) my previous files from WXP to Windows 7. I find that ALL the folders I pasted and their contents are marked as Read Only, consequently was unable to edit any of the files. I was able to remove the RO attribute with the DOS command "attrib -r DIRECTORY\*.*/s" where DIRECTORY was the path to the folder in question. All the file RO attributes were removed, even in the sub-folders, however the RO attribute remains on the folders. How can I remove the RO attributes from the folders so I can delete or otherwise edit them?

My System SpecsSystem Spec
.

17 Apr 2010   #2
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Blockie,

You would just need to add the /d switch to it to include the directories (folders) so the command looks like this below instead now.

attrib -r DIRECTORY\*.* /s /d

Hope this helps,
Shawn
My System SpecsSystem Spec
18 Apr 2010   #3

 

Quote   Quote: Originally Posted by Brink View Post
Hello Blockie,

You would just need to add the /d switch to it to include the directories (folders) so the command looks like this below instead now.

attrib -r DIRECTORY\*.* /s /d

Hope this helps,
Shawn

Didn't do it. Got nothing but "Access Denied". Need help with that,
My System SpecsSystem Spec
.


18 Apr 2010   #4
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Did you use it in a elevated command prompt (run as administrator)?
My System SpecsSystem Spec
19 Apr 2010   #5

 

Quote   Quote: Originally Posted by Brink View Post
Did you use it in a elevated command prompt (run as administrator)?
That didn't work either.
My System SpecsSystem Spec
19 Apr 2010   #6
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

What is the full path of the folder that you are wanting to do this on?

If this is a protected operating system file, then you may need to do this from a command prompt at startup instead using your Windows 7 installation disc.

You might also try Unlocker on it, to see if you may be able to delete it afterwards.
My System SpecsSystem Spec
20 Apr 2010   #7

 

There are about 7 folders at the C:\ prompt. One of them is C:\Corel\. I will try the steps you suggested tomorrow.
Bill
My System SpecsSystem Spec
Reply

 Can't delete folders




Thread Tools



Similar help and support threads for2: Can't delete folders
Thread Forum
Solved Please help me delete some folders General Discussion
Can't delete folders,,,,, General Discussion
can not delete folders Performance & Maintenance
Are these Folders Necessary or can I delete. General Discussion
Can't Delete Some Folders General Discussion
Can't delete folders Performance & Maintenance
What are these folders/can I delete them? 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 07:56 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33