A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » The Basics
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Problems deleting a file



 
 
Thread Tools Display Modes
  #1  
Old April 5th 03, 08:47 PM
Rob
external usenet poster
 
Posts: n/a
Default Problems deleting a file

Hi,

I am trying to delete a file and I receive the
message "error deleting file - can't delete because
another person or program".

How do I go about deleting the file.

Thanks.

Regards
Rob
Ads
  #2  
Old April 5th 03, 08:58 PM
Kelly
external usenet poster
 
Posts: n/a
Default Problems deleting a file

Hi Rob,

Close all open apps. Open a command prompt (Start/Run/CMD) and navigate to
the directory with the offending file(s). Then open the Task Manager and
click on the Processes tab, select "explorer.exe" under Image Name. Click
"End Process".

In the opened Command Prompt, DEL the offending files (DEL *.mpg, DEL
mus*.avi, DEL test.wmv, etc.) Once done, go back to the task manager and
click on the Applications tab. Click the "New Task..." button. in the
dialog, type explorer.exe and click OK.

Note: Could also opt for: ATTRIB -H -R -S filename before the DEL.

Or you can use Process Explorer
http://www.sysinternals.com/ntw2k/fr.../procexp.shtml

Use the search function to find every handle that Explorer.Exe has open and
close them (right-click on the file and choose 'close handle'). Then delete
the file(s) in question.

--
All the Best,
Kelly

MS-MVP Win98/XP-Shell/User [AE-Windows® XP]
Troubleshooting Windows XP
http://www.kellys-korner-xp.com
http://www.kellys-korner-xp.com/xp_abc.htm
http://www.kellys-korner-xp.com/xp_tweaks.htm


"Rob" wrote in message
...
Hi,

I am trying to delete a file and I receive the
message "error deleting file - can't delete because
another person or program".

How do I go about deleting the file.

Thanks.

Regards
Rob


  #3  
Old April 5th 03, 08:58 PM
Kelly
external usenet poster
 
Posts: n/a
Default Problems deleting a file

Hi Rob,

Close all open apps. Open a command prompt (Start/Run/CMD) and navigate to
the directory with the offending file(s). Then open the Task Manager and
click on the Processes tab, select "explorer.exe" under Image Name. Click
"End Process".

In the opened Command Prompt, DEL the offending files (DEL *.mpg, DEL
mus*.avi, DEL test.wmv, etc.) Once done, go back to the task manager and
click on the Applications tab. Click the "New Task..." button. in the
dialog, type explorer.exe and click OK.

Note: Could also opt for: ATTRIB -H -R -S filename before the DEL.

Or you can use Process Explorer
http://www.sysinternals.com/ntw2k/fr.../procexp.shtml

Use the search function to find every handle that Explorer.Exe has open and
close them (right-click on the file and choose 'close handle'). Then delete
the file(s) in question.

--
All the Best,
Kelly

MS-MVP Win98/XP-Shell/User [AE-Windows® XP]
Troubleshooting Windows XP
http://www.kellys-korner-xp.com
http://www.kellys-korner-xp.com/xp_abc.htm
http://www.kellys-korner-xp.com/xp_tweaks.htm


"Rob" wrote in message
...
Hi,

I am trying to delete a file and I receive the
message "error deleting file - can't delete because
another person or program".

How do I go about deleting the file.

Thanks.

Regards
Rob


 




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 Off
HTML code is Off






All times are GMT +1. The time now is 02:38 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.