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
blockie

 
Can't delete folders

I installed W7 and imported(copied) my previous files from WXP to W7. 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
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

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
blockie

 

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
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

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

 

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
Brink
Microsoft MVP

64-bit Windows 10 Pro
 
 

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
blockie

 

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
Thread Forum
Cannot Delete Folders
Just a question I hope someone can answer. I recently installed my OS on a new hard drive. I then reinstalled all my programs on the new hard drive. After reinstalling all my programs, I deleted the old windows directory/folder from the original hard drive and then all the programs that were...
General Discussion
Please help me delete some folders
I uninstalled Adobe Acrobat 7 Pro today. It left a few folders and when I attempt to delete them, I get the message, "You need permission to perform this action" "You require permission from SYSTEM to make changes to this folder" I don't have a clue what to do. Please help. Thanks
General Discussion
Can't delete old folders
I recently changed my OS to Windows 8 to see what all the fuss was about. I have returned to 7 but the Folders that 8 created can't be deleted. When pressing the delete function it appears to be recycling the folder as requested. After a few minutes it gives up a box that states "You'll need...
General Discussion
can not delete folders
Hello all, Im running an awesome western digital essentials 320GB USB hard drive its great i leave it plugged in all the time on an always on PC :) its really great and the drive stores every picture and mp3 i have. when trying to do some maintenance on my music collection i noticed that...
Performance & Maintenance
Are these Folders Necessary or can I delete.
Hello fellow members, In my workings with Windows 7, I have come across a few folders that have been created by the system or and installation, they are all locked and are a number/letter combination type name. The first contains a copy of iesetup.exe dated 2/8/2009. The second contains an...
General Discussion
What are these folders/can I delete them?
thx
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 00:10.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App