Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Windows XP

Windows XP Discuss the Microsoft Windows XP Operating System

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 08-30-2007, 12:40 PM
Kramer
Newsgroup Contributor
 
Posts: n/a
Unable to delete files until...

Hi. I've had a really hard time trying delete certain files.

I tried deleting them one by one. I tried deleting the parent
directory.

I made sure that I owned the file. I tried the windows shell and
'cmd'. I rebooted and tried again--no luck.

Then I rebooted into safe mode--no luck. I stopped the explorer.exe
process--no luck. I wrote a small perl script which attempted to open
each file for writing and reported that the open failed for each file.

Then I went into cygwin and typed 'rm -rf <parent dir>' and *poof*
they were all deleted.

What happened? Why did all of these other attempts fail and cygwin
succeed?

Why can't standard Windows tools handle this situation?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 08-30-2007, 12:40 PM
  #2 (permalink)  
Old 08-30-2007, 12:50 PM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
Re: Unable to delete files until... (...until what?)


"Kramer" <johnlkramer******.com> wrote in message
news:1188502094.689444.33250@r23g2000prd.googlegro ups.com...
> Hi. I've had a really hard time trying delete certain files.
>
> I tried deleting them one by one. I tried deleting the parent
> directory.
>
> I made sure that I owned the file. I tried the windows shell and
> 'cmd'. I rebooted and tried again--no luck.
>
> Then I rebooted into safe mode--no luck. I stopped the explorer.exe
> process--no luck. I wrote a small perl script which attempted to open
> each file for writing and reported that the open failed for each file.
>
> Then I went into cygwin and typed 'rm -rf <parent dir>' and *poof*
> they were all deleted.
>
> What happened? Why did all of these other attempts fail and cygwin
> succeed?
>
> Why can't standard Windows tools handle this situation?
>


Since you don't tell us what you see when you try to
delete these files, we cannot answer your question.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 08-30-2007, 01:20 PM
Kramer
Newsgroup Contributor
 
Posts: n/a
Re: Unable to delete files until... (...until what?)


> Since you don't tell us what you see when you try to
> delete these files, we cannot answer your question.


access denied.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 08-30-2007, 01:30 PM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
Re: Unable to delete files until... (...until what?)


"Kramer" <johnlkramer******.com> wrote in message
news:1188504560.824176.207790@r23g2000prd.googlegr oups.com...
>
>> Since you don't tell us what you see when you try to
>> delete these files, we cannot answer your question.

>
> access denied.
>


This sounds like a permission issue. Check permissions
and owner when it happens again.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 08-30-2007, 01:50 PM
Kramer
Newsgroup Contributor
 
Posts: n/a
Re: Unable to delete files until... (...until what?)

On Aug 30, 1:24 pm, "Pegasus \(MVP\)" <I....@fly.com> wrote:
> "Kramer" <johnlkra...******.com> wrote in message
>
> news:1188504560.824176.207790@r23g2000prd.googlegr oups.com...
>
>
>
> >> Since you don't tell us what you see when you try to
> >> delete these files, we cannot answer your question.

>
> > access denied.

>
> This sounds like a permission issue. Check permissions
> and owner when it happens again.


Did that. Not a permissions/ownership issue.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6 (permalink)  
Old 08-30-2007, 02:00 PM
ANONYMOUS
Newsgroup Contributor
 
Posts: n/a
Re: Unable to delete files until... (...until what?)



Kramer wrote:
>
>
> Did that. Not a permissions/ownership issue.



Could it one of those tmp files or dat files used by windows?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 08-30-2007, 02:20 PM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
Re: Unable to delete files until... (...until what?)


"Kramer" <johnlkramer******.com> wrote in message
news:1188506883.405456.5290@x35g2000prf.googlegrou ps.com...
> On Aug 30, 1:24 pm, "Pegasus \(MVP\)" <I....@fly.com> wrote:
>> "Kramer" <johnlkra...******.com> wrote in message
>>
>> news:1188504560.824176.207790@r23g2000prd.googlegr oups.com...
>>
>>
>>
>> >> Since you don't tell us what you see when you try to
>> >> delete these files, we cannot answer your question.

>>
>> > access denied.

>>
>> This sounds like a permission issue. Check permissions
>> and owner when it happens again.

>
> Did that. Not a permissions/ownership issue.
>


Next time it happens, try to delete the file while in a Command
Prompt. If unsuccessful, make a note of the exact error
message, then post the output of cacls.exe for the problem
file.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #8 (permalink)  
Old 08-30-2007, 08:30 PM
Uncle Grumpy
Newsgroup Contributor
 
Posts: n/a
Re: Unable to delete files until...

Kramer <johnlkramer******.com> wrote:

>Hi. I've had a really hard time trying delete certain files.


Would it cause you some grief if you listed the files you are trying
to delete?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #9 (permalink)  
Old 08-31-2007, 01:10 AM
Plato
Newsgroup Contributor
 
Posts: n/a
Re: Unable to delete files until...

Kramer wrote:
>
> Hi. I've had a really hard time trying delete certain files.


http://www.bootdisk.com/utility.htm
GENERAL FILE UTILITIES
Stubborn File Deleters

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
USB stick locked - unable to unlock, format, or delete files EriX Windows XP 6 07-19-2007 02:00 PM
Diaster! Unable to move or delete files. Don J Windows XP 6 04-27-2007 10:30 PM
Unable to delete folders and files on backup to external hard driv GeorgeW6 Windows XP 4 03-19-2007 09:00 PM
unable to delete files. Nicholas Windows Vista 5 02-22-2007 12:45 PM
Unable to delete files aloftnfurl Pocket PC General 4 01-15-2007 10:56 AM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 04:27 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0