• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Cannot delete file

M

minnow52

#1
When trying to delete a file from a folder, it says "The action can't be
completed because the file is open in another program. How do I find out what
program is running that file?
 
M

Malke

#2
minnow52 wrote:

> When trying to delete a file from a folder, it says "The action can't be
> completed because the file is open in another program. How do I find out
> what program is running that file?
It depends on what kind of file it is. Since you didn't tell us, how can
anyone guess?

As a general troubleshooting step, you can try deleting the Mystery File in
Safe Mode.

To get into Safe Mode, restart the computer and repeatedly tap the F8 key as
the computer is starting up. This will bring you to the correct menu. Use
your arrow key and the Enter key to select Safe Mode.

Malke
--
MS-MVP
Elephant Boy Computers
www.elephantboycomputers.com
Don't Panic!
 
#3
To delete the file close all open programs.
Open an admin command prompt.
Type attrib -r -a -s -h del [drive] path] [filename]
(e.g. "C:\Users\minnow52\Documents\minnow52.doc")
Press Enter.
-------
*Report back, please*

"minnow52" <minnow52@xxxxxx> wrote in message
news:5DEFD446-CDF0-4A4E-AEA6-3F02B08FDAF6@xxxxxx

> When trying to delete a file from a folder, it says "The action can't be
> completed because the file is open in another program. How do I find out
> what
> program is running that file?
 
M

minnow52

#4
Sorry about that. New to this. (As you can tell.)
It is an AVI movie video that is in my My Documents/Movies Folder

"Malke" wrote:

> minnow52 wrote:
>

> > When trying to delete a file from a folder, it says "The action can't be
> > completed because the file is open in another program. How do I find out
> > what program is running that file?
>
> It depends on what kind of file it is. Since you didn't tell us, how can
> anyone guess?
>
> As a general troubleshooting step, you can try deleting the Mystery File in
> Safe Mode.
>
> To get into Safe Mode, restart the computer and repeatedly tap the F8 key as
> the computer is starting up. This will bring you to the correct menu. Use
> your arrow key and the Enter key to select Safe Mode.
>
> Malke
> --
> MS-MVP
> Elephant Boy Computers
> www.elephantboycomputers.com
> Don't Panic!
>
 
M

Malke

#5
minnow52 wrote:

> Sorry about that. New to this. (As you can tell.)
> It is an AVI movie video that is in my My Documents/Movies Folder
First of all, I assume you really mean the file lives in
%systemdrive%\Users\your-user-account\Movies because there is no "My
Documents" in Vista. The whole Documents and Settings [My-foldername]
hierarchy doesn't exist in Vista. The Documents and Settings and subfolders
you see are virtual, junctions there only for backwards compatibility with
older software that expects those locations to exist.

You can try Bob's method or go into Safe Mode.

Malke
--
MS-MVP
Elephant Boy Computers
www.elephantboycomputers.com
Don't Panic!
 
M

minnow52

#6
I will try it but how do I open an admin command prompt?

"Bob" wrote:

> To delete the file close all open programs.
> Open an admin command prompt.
> Type attrib -r -a -s -h del [drive] path] [filename]
> (e.g. "C:\Users\minnow52\Documents\minnow52.doc")
> Press Enter.
> -------
> *Report back, please*
>
> "minnow52" <minnow52@xxxxxx> wrote in message
> news:5DEFD446-CDF0-4A4E-AEA6-3F02B08FDAF6@xxxxxx

> > When trying to delete a file from a folder, it says "The action can't be
> > completed because the file is open in another program. How do I find out
> > what
> > program is running that file?
>
>
 
#7
Start>Programs>Accessories>Right click Command Prompt>Run as Administrator.

"minnow52" <minnow52@xxxxxx> wrote in message
news:875517CC-FD09-4B82-8AF9-B734620A0514@xxxxxx

>I will try it but how do I open an admin command prompt?
>
> "Bob" wrote:
>

>> To delete the file close all open programs.
>> Open an admin command prompt.
>> Type attrib -r -a -s -h del [drive] path] [filename]
>> (e.g. "C:\Users\minnow52\Documents\minnow52.doc")
>> Press Enter.
>> -------
>> *Report back, please*
>>
>> "minnow52" <minnow52@xxxxxx> wrote in message
>> news:5DEFD446-CDF0-4A4E-AEA6-3F02B08FDAF6@xxxxxx

>> > When trying to delete a file from a folder, it says "The action can't
>> > be
>> > completed because the file is open in another program. How do I find
>> > out
>> > what
>> > program is running that file?
>>
>>
 
M

minnow52

#8
Thanks a lot for all your help. Was able to delete the 2 movie files
following your instructions just like you said. Once again thanks for your
help and I'm making sure that I put this forum into my FAVORITES.

"Bob" wrote:

> Start>Programs>Accessories>Right click Command Prompt>Run as Administrator.
>
> "minnow52" <minnow52@xxxxxx> wrote in message
> news:875517CC-FD09-4B82-8AF9-B734620A0514@xxxxxx

> >I will try it but how do I open an admin command prompt?
> >
> > "Bob" wrote:
> >

> >> To delete the file close all open programs.
> >> Open an admin command prompt.
> >> Type attrib -r -a -s -h del [drive] path] [filename]
> >> (e.g. "C:\Users\minnow52\Documents\minnow52.doc")
> >> Press Enter.
> >> -------
> >> *Report back, please*
> >>
> >> "minnow52" <minnow52@xxxxxx> wrote in message
> >> news:5DEFD446-CDF0-4A4E-AEA6-3F02B08FDAF6@xxxxxx
> >> > When trying to delete a file from a folder, it says "The action can't
> >> > be
> >> > completed because the file is open in another program. How do I find
> >> > out
> >> > what
> >> > program is running that file?
> >>
> >>
>
>
 
#9
You're welcome. Glad to help. Thanks for the feedback.

"minnow52" <minnow52@xxxxxx> wrote in message
news:E2E0F239-BD18-4390-A66D-C26571F2C1E9@xxxxxx

> Thanks a lot for all your help. Was able to delete the 2 movie files
> following your instructions just like you said. Once again thanks for your
> help and I'm making sure that I put this forum into my FAVORITES.
>
> "Bob" wrote:
>

>> Start>Programs>Accessories>Right click Command Prompt>Run as
>> Administrator.
>>
>> "minnow52" <minnow52@xxxxxx> wrote in message
>> news:875517CC-FD09-4B82-8AF9-B734620A0514@xxxxxx

>> >I will try it but how do I open an admin command prompt?
>> >
>> > "Bob" wrote:
>> >
>> >> To delete the file close all open programs.
>> >> Open an admin command prompt.
>> >> Type attrib -r -a -s -h del [drive] path] [filename]
>> >> (e.g. "C:\Users\minnow52\Documents\minnow52.doc")
>> >> Press Enter.
>> >> -------
>> >> *Report back, please*
>> >>
>> >> "minnow52" <minnow52@xxxxxx> wrote in message
>> >> news:5DEFD446-CDF0-4A4E-AEA6-3F02B08FDAF6@xxxxxx
>> >> > When trying to delete a file from a folder, it says "The action
>> >> > can't
>> >> > be
>> >> > completed because the file is open in another program. How do I find
>> >> > out
>> >> > what
>> >> > program is running that file?
>> >>
>> >>
>>
>>
 
#10
This was useful, thanks.

"Bob" wrote:

> You're welcome. Glad to help. Thanks for the feedback.
>
> "minnow52" <minnow52@xxxxxx> wrote in message
> news:E2E0F239-BD18-4390-A66D-C26571F2C1E9@xxxxxx

> > Thanks a lot for all your help. Was able to delete the 2 movie files
> > following your instructions just like you said. Once again thanks for your
> > help and I'm making sure that I put this forum into my FAVORITES.
> >
> > "Bob" wrote:
> >

> >> Start>Programs>Accessories>Right click Command Prompt>Run as
> >> Administrator.
> >>
> >> "minnow52" <minnow52@xxxxxx> wrote in message
> >> news:875517CC-FD09-4B82-8AF9-B734620A0514@xxxxxx
> >> >I will try it but how do I open an admin command prompt?
> >> >
> >> > "Bob" wrote:
> >> >
> >> >> To delete the file close all open programs.
> >> >> Open an admin command prompt.
> >> >> Type attrib -r -a -s -h del [drive] path] [filename]
> >> >> (e.g. "C:\Users\minnow52\Documents\minnow52.doc")
> >> >> Press Enter.
> >> >> -------
> >> >> *Report back, please*
> >> >>
> >> >> "minnow52" <minnow52@xxxxxx> wrote in message
> >> >> news:5DEFD446-CDF0-4A4E-AEA6-3F02B08FDAF6@xxxxxx
> >> >> > When trying to delete a file from a folder, it says "The action
> >> >> > can't
> >> >> > be
> >> >> > completed because the file is open in another program. How do I find
> >> >> > out
> >> >> > what
> >> >> > program is running that file?
> >> >>
> >> >>
> >>
> >>
>
>
 
#11
You're welcome Oli.

"Oli" <Oli@xxxxxx> wrote in message
news:E5B107C3-D64A-432D-AAF5-E29D6DA55A1B@xxxxxx

> This was useful, thanks.
>
> "Bob" wrote:
>

>> You're welcome. Glad to help. Thanks for the feedback.
>>
>> "minnow52" <minnow52@xxxxxx> wrote in message
>> news:E2E0F239-BD18-4390-A66D-C26571F2C1E9@xxxxxx

>> > Thanks a lot for all your help. Was able to delete the 2 movie files
>> > following your instructions just like you said. Once again thanks for
>> > your
>> > help and I'm making sure that I put this forum into my FAVORITES.
>> >
>> > "Bob" wrote:
>> >
>> >> Start>Programs>Accessories>Right click Command Prompt>Run as
>> >> Administrator.
>> >>
>> >> "minnow52" <minnow52@xxxxxx> wrote in message
>> >> news:875517CC-FD09-4B82-8AF9-B734620A0514@xxxxxx
>> >> >I will try it but how do I open an admin command prompt?
>> >> >
>> >> > "Bob" wrote:
>> >> >
>> >> >> To delete the file close all open programs.
>> >> >> Open an admin command prompt.
>> >> >> Type attrib -r -a -s -h del [drive] path] [filename]
>> >> >> (e.g. "C:\Users\minnow52\Documents\minnow52.doc")
>> >> >> Press Enter.
>> >> >> -------
>> >> >> *Report back, please*
>> >> >>
>> >> >> "minnow52" <minnow52@xxxxxx> wrote in message
>> >> >> news:5DEFD446-CDF0-4A4E-AEA6-3F02B08FDAF6@xxxxxx
>> >> >> > When trying to delete a file from a folder, it says "The action
>> >> >> > can't
>> >> >> > be
>> >> >> > completed because the file is open in another program. How do I
>> >> >> > find
>> >> >> > out
>> >> >> > what
>> >> >> > program is running that file?
>> >> >>
>> >> >>
>> >>
>> >>
>>
>>
 
#12
Very Useful thread. Unfortunately after trying your advise, I still cannot delete a file with a .uif extension. I keep getting an error message which states "the action can't be completed because the file is open in another program."

I am pretty sure it is not open in any other programs. I tried deleting in safe mode with no luck. I tried using a program named "moveonboot" with no luck.

And I tried using your command prompt suggestion with no luck-- I received an error which stated "parameter format not correct."

Any other suggestions? Did I type something incorrect into the prompt?

Thanks!
 
D
#13
Have you tried a program named Unlocker



"gordievsky" <guest@xxxxxx-email.com> wrote in message
news:0d006691c14924152afb63a40d0d8fe6@xxxxxx-gateway.com...

>
> Very Useful thread. Unfortunately after trying your advise, I still
> cannot delete a file with a .uif extension. I keep getting an error
> message which states "the action can't be completed because the file is
> open in another program."
>
> I am pretty sure it is not open in any other programs. I tried
> deleting in safe mode with no luck. I tried using a program named
> "moveonboot" with no luck.
>
> And I tried using your command prompt suggestion with no luck-- I
> received an error which stated "parameter format not correct."
>
> Any other suggestions? Did I type something incorrect into the prompt?
>
> Thanks!
>
>
> --
> gordievsky
 
T

trisol_31

#14
SITUATION:[/B]
_YOU_MAY_SCROLL_DOWN_TO_THE_*SOLUTION*,_BUT_THE_SITUATION_WILL_ALLOW_YOU_TO_CONFIRM_THE_SYMPTOMS_OF_THE_PROBLEM_YOU'RE_FACING_
FOR THOSE WHO, THE ABOVE GIVEN METHOD DIDN'T WORK...(YES, IT DIDNT WORK
FOR ME EITHER...)

HERE'S WHAT I DID...

I HAD INSTALLED MAGICISO SOFTWARE ON 20TH NOV. AND EVERY SINGLE DAY
AFTER THAT I TRIED EVERYTHING TO GET RID OF THE SOFTWARE ITSELF AND THE
.UIF FILE.

UNINSTALLING THE SOFTWARE WAS A NO-BRAINER...I JUST USED THE 'PROGRAMS
AND FEATURES' IN CONTROL PANEL.

HOWEVER, I STILL COULDN'T DELETE THE FILE...

I ALSO TRIED TO UNINSTALL THE DRIVER OF THE ROM IN 'MY COMPUTER' (WHEN
WE INSTALL MAGIC DISC, IT CREATES A NEW ROM DEVICE COMPLETE WITH A
VOLUME LABEL, IN MY CASE F:)

BUT EVERYTIME I RESTARTED THE SYSTEM THE DRIVER AUTOMATICALLY INSTALLED
AND I STILL COULDN'T DELETE THE FILE EVEN AFTER UNINSTALLING THE
DRIVER...

SOLUTION:
I tried using a feature provided by Microsoft, which until now I
thought was pretty useless.

-_MAKE_WAY_FOR_:_\\"SYSTEM_RESTORE\\"_-

I tried using System Restore on 26th Nov.
But the software only showed me the Restore points for the past 5
days.
Be advised however that It has a check box, which when selected shows
us the restore points later than 5 days...
The system had automatically created a System Restore point before
installing the MagicISO software.
All that was remaining to be doen was, choose a system restore point
before 20th Nov, in my case, I chose 19th.
Sure the restoration took about 20 min, or so....but when I restarted
the PC, the MAGIC ISO ROM was gone.
I went on to the .uif file and deleted it as I would delete any other
file.

Thank you for reading through all this. It was quite a headache for me
as well, but I wanted to be as thorough as possible. After all, nobody
wants a silly 'little' file to occupy 19GB of disc space for nothing,
eh?


--
trisol_31
------------------------------------------------------------------------
trisol_31's Profile: http://forums.techarena.in/members/trisol_31.htm
View this thread: http://forums.techarena.in/vista-file-management/937842.htm

http://forums.techarena.in
 
#15
Well, this probably won't help too much. But I eventually resolved this problem. The file I was trying to delete was in use by a "virtual drive" which basically read data files as discs.

After I realized this, and "unmounted" the file, I could delete it.
 

Zyonix

Vista Acolyte
Member
#16
Dismounting usually works. :)

If you have an error like this and it's REALLY REALLY bothering you. Don't take too much time. Get HiJack This and use the "Delete File on Shutdown" tool. :)

As soon as the resources stop using the file, it gets instantly deleted. Perfecto.
 
#17
Dismounting usually works. :)

If you have an error like this and it's REALLY REALLY bothering you. Don't take too much time. Get HiJack This and use the "Delete File on Shutdown" tool. :)

As soon as the resources stop using the file, it gets instantly deleted. Perfecto.
well, i tried this method, but it didn't work with my mounted file.

just sayin.
 
F

Finiderire

#18
Hi,

When I am facing this kind of issue I run Process Explorer by
SysInternals (now Microsoft).
http://technet.microsoft.com/fr-fr/sysinternals/bb896653.aspxYou Open
It, You click 'Find (Handle or DLL)'
You type a part of the file name which is locked and run the search.
You get the name of the faulty process. Now you can understand and
close the process which locks the file.

a+,=)
-=Finiderire=-


--
Finiderire
------------------------------------------------------------------------
Finiderire's Profile: http://forums.techarena.in/members/50274.htm
View this thread: http://forums.techarena.in/vista-file-management/937842.htm

http://forums.techarena.in
 
M

Mikeesp

#19
I had the same problem.
I read some of the answers here and they gave me the clue I needed.

I have MagicISO disk installed, a virtual drive.

When I checked it showed the file I wanted to delete as being
"mounted".
I clicked on "umount" and I could then delete the uif file.

Sorry if the techie terms aren't all correct.


--
Mikeesp
------------------------------------------------------------------------
Mikeesp's Profile: http://forums.techarena.in/members/157718.htm
View this thread: http://forums.techarena.in/vista-file-management/937842.htm

http://forums.techarena.in