Guest Kramer Posted August 30, 2007 Posted August 30, 2007 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?
Guest Pegasus \(MVP\) Posted August 30, 2007 Posted August 30, 2007 Re: Unable to delete files until... (...until what?) Re: Unable to delete files until... (...until what?) "Kramer" <johnlkramer@gmail.com> wrote in message news:1188502094.689444.33250@r23g2000prd.googlegroups.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.
Guest Kramer Posted August 30, 2007 Posted August 30, 2007 Re: Unable to delete files until... (...until what?) 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.
Guest Pegasus \(MVP\) Posted August 30, 2007 Posted August 30, 2007 Re: Unable to delete files until... (...until what?) Re: Unable to delete files until... (...until what?) "Kramer" <johnlkramer@gmail.com> wrote in message news:1188504560.824176.207790@r23g2000prd.googlegroups.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.
Guest Kramer Posted August 30, 2007 Posted August 30, 2007 Re: Unable to delete files until... (...until what?) Re: Unable to delete files until... (...until what?) On Aug 30, 1:24 pm, "Pegasus \(MVP\)" <I....@fly.com> wrote: > "Kramer" <johnlkra...@gmail.com> wrote in message > > news:1188504560.824176.207790@r23g2000prd.googlegroups.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.
Guest ANONYMOUS Posted August 30, 2007 Posted August 30, 2007 Re: Unable to delete files until... (...until what?) 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?
Guest Pegasus \(MVP\) Posted August 30, 2007 Posted August 30, 2007 Re: Unable to delete files until... (...until what?) Re: Unable to delete files until... (...until what?) "Kramer" <johnlkramer@gmail.com> wrote in message news:1188506883.405456.5290@x35g2000prf.googlegroups.com... > On Aug 30, 1:24 pm, "Pegasus \(MVP\)" <I....@fly.com> wrote: >> "Kramer" <johnlkra...@gmail.com> wrote in message >> >> news:1188504560.824176.207790@r23g2000prd.googlegroups.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.
Guest Uncle Grumpy Posted August 31, 2007 Posted August 31, 2007 Re: Unable to delete files until... Kramer <johnlkramer@gmail.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?
Guest Plato Posted August 31, 2007 Posted August 31, 2007 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
Recommended Posts