Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista file management

Vista - Cannot delete file

Reply
 
Old 03-24-2008   #1 (permalink)
minnow52


 
 

Cannot delete file

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?

My System SpecsSystem Spec
Old 03-24-2008   #2 (permalink)
Malke


 
 

Re: Cannot delete file

minnow52 wrote:
Quote:

> 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!
My System SpecsSystem Spec
Old 03-24-2008   #3 (permalink)
Bob


 
 

Re: Cannot delete file

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

> 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?
My System SpecsSystem Spec
Old 03-24-2008   #4 (permalink)
minnow52


 
 

Re: Cannot delete file

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

> minnow52 wrote:
>
Quote:

> > 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!
>
My System SpecsSystem Spec
Old 03-24-2008   #5 (permalink)
Malke


 
 

Re: Cannot delete file

minnow52 wrote:
Quote:

> 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!
My System SpecsSystem Spec
Old 03-24-2008   #6 (permalink)
minnow52


 
 

Re: Cannot delete file

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

"Bob" wrote:
Quote:

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

> > 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?
>
>
My System SpecsSystem Spec
Old 03-24-2008   #7 (permalink)
Bob


 
 

Re: Cannot delete file

Start>Programs>Accessories>Right click Command Prompt>Run as Administrator.

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

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

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

>> > 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?
>>
>>
My System SpecsSystem Spec
Old 03-24-2008   #8 (permalink)
minnow52


 
 

Re: Cannot delete file

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

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

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

> >> 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?
> >>
> >>
>
>
My System SpecsSystem Spec
Old 03-24-2008   #9 (permalink)
Bob


 
 

Re: Cannot delete file

You're welcome. Glad to help. Thanks for the feedback.

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

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

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

>> >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?
>> >>
>> >>
>>
>>
My System SpecsSystem Spec
Old 03-28-2008   #10 (permalink)
Oli


 
 

Re: Cannot delete file

This was useful, thanks.

"Bob" wrote:
Quote:

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

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

> >> 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?
> >> >>
> >> >>
> >>
> >>
>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
cannot delete a file due to error that file is open Vista file management
cannot delete old DOS file Vista file management
cannot delete mail in delete file Vista mail
Create New folder, move file, delete file. Explorer Freeze General Discussion
Re: YOU CANT DELETE A FILE? Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46