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

Cannot Delete a file



 
 
Thread Tools Display Modes
  #1  
Old April 6th 03, 04:26 AM
Ted Gervais
external usenet poster
 
Posts: n/a
Default Cannot Delete a file

I just found that I have a file on my system (one I downloaded) that I can't
delete.
When I try to kill it (delete it), a message pops up and says :

" Cannot delete (the file). It is being used by another person or program.
Close any programs that might be using the file and try again"..

So I checked to see what else was running or using that program and nothing
was found. I shut the computer off and restarted it. Hoping this would kill
whatever was using the program. Same thing. The program is STILL being used
by another person or program??

How can I delete this file?


Ads
  #2  
Old April 6th 03, 04:37 AM
johnf
external usenet poster
 
Posts: n/a
Default Cannot Delete a file

Ted Gervais wrote:
I just found that I have a file on my system (one I downloaded) that
I can't delete.
When I try to kill it (delete it), a message pops up and says :

" Cannot delete (the file). It is being used by another person or
program. Close any programs that might be using the file and try
again"..

So I checked to see what else was running or using that program and
nothing was found. I shut the computer off and restarted it. Hoping
this would kill whatever was using the program. Same thing. The
program is STILL being used by another person or program??

How can I delete this file?


Try it in Safe Mode.
--
johnf
(when replying direct, please ensure my address ends with .au)



  #3  
Old April 6th 03, 04:37 AM
johnf
external usenet poster
 
Posts: n/a
Default Cannot Delete a file

Ted Gervais wrote:
I just found that I have a file on my system (one I downloaded) that
I can't delete.
When I try to kill it (delete it), a message pops up and says :

" Cannot delete (the file). It is being used by another person or
program. Close any programs that might be using the file and try
again"..

So I checked to see what else was running or using that program and
nothing was found. I shut the computer off and restarted it. Hoping
this would kill whatever was using the program. Same thing. The
program is STILL being used by another person or program??

How can I delete this file?


Try it in Safe Mode.
--
johnf
(when replying direct, please ensure my address ends with .au)



  #4  
Old April 6th 03, 03:01 PM
Ted Gervais
external usenet poster
 
Posts: n/a
Default Cannot Delete a file


Hello Kelly, and others on the list.

Thank you very much for the tip on how to delete this file. It worked just
as you said. Obviously you have done things like this before. I was getting
pretty desparate in finding a way to remove this file. I bet the attributes
or permissions were changed, somehow. Thanks again for the great tip and
maybe this might be of some use to others on the list.

By the , I wonder how this happened? Why did the file suddenly become
undeletable?


"Kelly" wrote in message
...
Hi Ted,

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


"Ted Gervais" wrote in message
...
I just found that I have a file on my system (one I downloaded) that I

can't
delete.
When I try to kill it (delete it), a message pops up and says :

" Cannot delete (the file). It is being used by another person or

program.
Close any programs that might be using the file and try again"..

So I checked to see what else was running or using that program and

nothing
was found. I shut the computer off and restarted it. Hoping this would

kill
whatever was using the program. Same thing. The program is STILL being

used
by another person or program??

How can I delete this file?





  #5  
Old April 6th 03, 03:01 PM
Ted Gervais
external usenet poster
 
Posts: n/a
Default Cannot Delete a file


Hello Kelly, and others on the list.

Thank you very much for the tip on how to delete this file. It worked just
as you said. Obviously you have done things like this before. I was getting
pretty desparate in finding a way to remove this file. I bet the attributes
or permissions were changed, somehow. Thanks again for the great tip and
maybe this might be of some use to others on the list.

By the , I wonder how this happened? Why did the file suddenly become
undeletable?


"Kelly" wrote in message
...
Hi Ted,

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


"Ted Gervais" wrote in message
...
I just found that I have a file on my system (one I downloaded) that I

can't
delete.
When I try to kill it (delete it), a message pops up and says :

" Cannot delete (the file). It is being used by another person or

program.
Close any programs that might be using the file and try again"..

So I checked to see what else was running or using that program and

nothing
was found. I shut the computer off and restarted it. Hoping this would

kill
whatever was using the program. Same thing. The program is STILL being

used
by another person or program??

How can I delete this file?





  #6  
Old April 7th 03, 01:24 AM
Kelly
external usenet poster
 
Posts: n/a
Default Cannot Delete a file

You are very welcome, Ted and glad it worked for you. However, it is a
major XP issue, so don't fret too much over it.

However, some users claim they haven't ever had the issue, some claim they
have always had the issue and some claim that the issue came about one day.

--
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


"Ted Gervais" wrote in message
...

Hello Kelly, and others on the list.

Thank you very much for the tip on how to delete this file. It worked

just
as you said. Obviously you have done things like this before. I was

getting
pretty desparate in finding a way to remove this file. I bet the

attributes
or permissions were changed, somehow. Thanks again for the great tip and
maybe this might be of some use to others on the list.

By the , I wonder how this happened? Why did the file suddenly become
undeletable?


"Kelly" wrote in message
...
Hi Ted,

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


"Ted Gervais" wrote in message
...
I just found that I have a file on my system (one I downloaded) that I

can't
delete.
When I try to kill it (delete it), a message pops up and says :

" Cannot delete (the file). It is being used by another person or

program.
Close any programs that might be using the file and try again"..

So I checked to see what else was running or using that program and

nothing
was found. I shut the computer off and restarted it. Hoping this would

kill
whatever was using the program. Same thing. The program is STILL

being
used
by another person or program??

How can I delete this file?






  #7  
Old April 7th 03, 01:24 AM
Kelly
external usenet poster
 
Posts: n/a
Default Cannot Delete a file

You are very welcome, Ted and glad it worked for you. However, it is a
major XP issue, so don't fret too much over it.

However, some users claim they haven't ever had the issue, some claim they
have always had the issue and some claim that the issue came about one day.

--
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


"Ted Gervais" wrote in message
...

Hello Kelly, and others on the list.

Thank you very much for the tip on how to delete this file. It worked

just
as you said. Obviously you have done things like this before. I was

getting
pretty desparate in finding a way to remove this file. I bet the

attributes
or permissions were changed, somehow. Thanks again for the great tip and
maybe this might be of some use to others on the list.

By the , I wonder how this happened? Why did the file suddenly become
undeletable?


"Kelly" wrote in message
...
Hi Ted,

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


"Ted Gervais" wrote in message
...
I just found that I have a file on my system (one I downloaded) that I

can't
delete.
When I try to kill it (delete it), a message pops up and says :

" Cannot delete (the file). It is being used by another person or

program.
Close any programs that might be using the file and try again"..

So I checked to see what else was running or using that program and

nothing
was found. I shut the computer off and restarted it. Hoping this would

kill
whatever was using the program. Same thing. The program is STILL

being
used
by another person or program??

How can I delete this file?






 




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 08:53 PM.


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