Windows XP Community - XPHeads



Can't delete folder

microsoft.public.windowsxp.general


Reply
  #1 (permalink)  
Old 04-08-2008, 12:48 AM
Jack Crenshaw
 
Posts: n/a
Can't delete folder
This is really about three separate questions, but they're all related,
so please bear with me as I lay out the situation.

I have folders on my HD that I can't delete. When I ask Windows
Explorer to delete one of them, I get the error message:

"Cannot delete foobar. It is being used by another person or program..."

The attributes for the folder show that it is marked read only, but
Windows won't let me change the attribute.

Hint #1: I didn't create the folder. It was created by the Microsoft
Visual C++ Express IDE. I neither need nor want that folder or its
contents anymore, but VC++ is hanging on to it for dear life.

Hint #2: Exploring the registry with RegEdit, I see that there are
registry entries, not only for the folder, but also for all the source
files that used to be in it. Some are links, which is, I guess, why
Windows won't let me delete the folder. This brings up two questions:

1) WHY WOULD ANYONE DO SUCH A THING? (muck around with my registry)
2) How can I safely clean up the registry? Is it as simple as deleting
the entries, or are there other, more subtle, connections that might be
left dangling?

Thanks

Jack
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-08-2008, 12:54 AM
Rock
 
Posts: n/a
Re: Can't delete folder
"Jack Crenshaw" <jcrens@earthlink.net> wrote in message
news:O_mdnYqWC5ePXGfanZ2dnUVZ_ualnZ2d@earthlink.co m...
> This is really about three separate questions, but they're all related, so
> please bear with me as I lay out the situation.
>
> I have folders on my HD that I can't delete. When I ask Windows Explorer
> to delete one of them, I get the error message:
>
> "Cannot delete foobar. It is being used by another person or program..."
>
> The attributes for the folder show that it is marked read only, but
> Windows won't let me change the attribute.
>
> Hint #1: I didn't create the folder. It was created by the Microsoft
> Visual C++ Express IDE. I neither need nor want that folder or its
> contents anymore, but VC++ is hanging on to it for dear life.
>
> Hint #2: Exploring the registry with RegEdit, I see that there are
> registry entries, not only for the folder, but also for all the source
> files that used to be in it. Some are links, which is, I guess, why
> Windows won't let me delete the folder. This brings up two questions:
>
> 1) WHY WOULD ANYONE DO SUCH A THING? (muck around with my registry)
> 2) How can I safely clean up the registry? Is it as simple as deleting
> the entries, or are there other, more subtle, connections that might be
> left dangling?



See these articles on taking ownership of files/folders.

HOW TO: Take Ownership of a File or Folder in Windows XP
http://support.microsoft.com/?id=308421

How to set, view, change, or remove file and folder permissions in Windows
XP
http://support.microsoft.com/kb/308418/en-us

How to set, view, change, or remove special permissions for files and
folders in Windows XP
http://support.microsoft.com/kb/308419/en-us


--
Rock [MS-MVP]

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 08:55 AM
Jack Crenshaw
 
Posts: n/a
Re: Can't delete folder
Rock wrote:
> "Jack Crenshaw" <jcrens@earthlink.net> wrote in message
> news:O_mdnYqWC5ePXGfanZ2dnUVZ_ualnZ2d@earthlink.co m...
>> This is really about three separate questions, but they're all
>> related, so please bear with me as I lay out the situation.
>>
>> I have folders on my HD that I can't delete. When I ask Windows
>> Explorer to delete one of them, I get the error message:
>>
>> "Cannot delete foobar. It is being used by another person or program..."
>>
>> The attributes for the folder show that it is marked read only, but
>> Windows won't let me change the attribute.
>>
>> Hint #1: I didn't create the folder. It was created by the Microsoft
>> Visual C++ Express IDE. I neither need nor want that folder or its
>> contents anymore, but VC++ is hanging on to it for dear life.
>>
>> Hint #2: Exploring the registry with RegEdit, I see that there are
>> registry entries, not only for the folder, but also for all the source
>> files that used to be in it. Some are links, which is, I guess, why
>> Windows won't let me delete the folder. This brings up two questions:
>>
>> 1) WHY WOULD ANYONE DO SUCH A THING? (muck around with my registry)
>> 2) How can I safely clean up the registry? Is it as simple as
>> deleting the entries, or are there other, more subtle, connections
>> that might be left dangling?

>
>
> See these articles on taking ownership of files/folders.
>
> HOW TO: Take Ownership of a File or Folder in Windows XP
> http://support.microsoft.com/?id=308421
>
> How to set, view, change, or remove file and folder permissions in
> Windows XP
> http://support.microsoft.com/kb/308418/en-us
>
> How to set, view, change, or remove special permissions for files and
> folders in Windows XP
> http://support.microsoft.com/kb/308419/en-us
>
>

Thanks!!!

Jack
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-09-2008, 06:11 AM
Rock
 
Posts: n/a
Re: Can't delete folder
"Jack Crenshaw" <jcrens@earthlink.net> wrote

<snip>

> Thanks!!!


You're welcome.

--
Rock [MS-MVP]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:27 AM.


Registry Mechanic - Free Scan Now
Driver Scanner 2009 - Free Scan Now




Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74