Unable to delete a file

Discussion in 'Windows 8' started by lievre, Feb 10, 2014.

  1. lievre

    lievre MDL Senior Member

    Sep 18, 2012
    336
    71
    10
    I have a file in my computer name Windows.old. In that sub folder i have users then my name then desktop and finally 2 files. The 2 files are empty 0 ko. When i try to delete those files i always received this message : verify current location and try again.

    Of course the location is not good anymore, it is an old windows shortcut!.

    Now i've try everything. Even in safe mode. :eek:

    I'm sure there is a way to do it with a cmd command or any other way.

    Thank you for your help.

    Lievre
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mzakho

    mzakho MDL Member

    Nov 22, 2008
    162
    69
    10
    #2 mzakho, Feb 10, 2014
    Last edited: Feb 10, 2014
    To delete the file, run Command Promt i (Run As Administrator)
    Type the following command:
    del /f /s /q /a C:\Windows.old


    or

    RD /S /Q %SystemDrive%\windows.old

    or any dir,
     
  3. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,692
    3,044
    300
  4. lievre

    lievre MDL Senior Member

    Sep 18, 2012
    336
    71
    10
    That method did the job. First i did it in cmd and then delete manually the folder.

    All the other method did not work for me. Ownership: nop. Did not try the chkdsks. And the microsoft link did not work also.


    Thank you guys for your precious help.

    Appreciate.

    Lievre
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Helmutcheese

    Helmutcheese MDL Member

    Jul 29, 2009
    177
    27
    10
    Since it is a legit part of old Windows use the MS method, that is why unlike the other thread made about near same topic on same day I did not suggest safe mode or unlocker.

    You should know what Disk Cleanup is if you use Windows.