Windows Vista Forums

Cannot delete file

  1. #1


    minnow52 Guest

    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

  2. #2


    Malke Guest

    Re: Cannot delete file

    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!

      My System SpecsSystem Spec

  3. #3


    Bob Guest

    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

    > 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

  4. #4


    minnow52 Guest

    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:

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

      My System SpecsSystem Spec

  5. #5


    Malke Guest

    Re: Cannot delete file

    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!

      My System SpecsSystem Spec

  6. #6


    minnow52 Guest

    Re: Cannot delete file

    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

  7. #7


    Bob Guest

    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

    >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

  8. #8


    minnow52 Guest

    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:

    > 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

  9. #9


    Bob Guest

    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

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

      My System SpecsSystem Spec

  10. #10


    Oli Guest

    Re: Cannot delete file

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

      My System SpecsSystem Spec

Page 1 of 2 12 LastLast
Cannot delete file

Similar Threads
Thread Forum
Cannot delete file
I just reinstalled Vista, and after it all booted back up, everything nice and clean, I went to the Windows.old folder, and put it in the recycle...
General Discussion
Will note delete File - File not Found!
Hello All - I've been around here a couple of time in the last couple of years with my Vista machine and you all always seem to have the answers...
General Discussion
cannot delete a file due to error that file is open
I have looked at other posts in this forum regarding similar problems, but have not successfully delete a file. It is an ISO file located on a...
Vista file management
Can't delete file!
I have a folder that when I try to access it, it tells me "file or directory is corrupted and unreadable. If I try to delete it I get "error...
Vista General
cannot delete mail in delete file
does anyone know what the problem is and how to fix it
Vista mail
Create New folder, move file, delete file. Explorer Freeze
Basically the title. Almost every single time i move ANY file or delete any file, the window im in freezes and the progress bar freezes. Now when i...
General Discussion
How to delete this log file?
For some reason vista created an ntuser.dat log 2 file it has 0kb and doesn't look like it's needed for anything. So here is my question how do i...
Vista General