none
a File cannot be deleted says it doesnt exist

    Question

  • Hi I have a file in a directory in Windows 7, (it shows up in the file listing) name of the file is like 'mymap.gra.register.User' , type is 'File', size is 0 bytes. When I try to delete the file the alert says 'Could not find this Item, This is no longer located in C;\Users\My Name\etc.... Verify the items location and try again.

    I cannot perform any operation on this file (delete, rename, open etc.) The location is causing my code to be not compiled.

    Thanks

    Priyank Devurkar

    Wednesday, November 09, 2011 10:15 PM

Answers

  • does teh filename contain weird characters? Id so, it might be usefull to delete the file from command prompt:

     

    del *.user (or alike)

    using ? or * alows skipping invalid characters.

    Consider booting the system using an alternate OS to verify whether the file is visible and/or deletable that way.


    MCP/MCSA/MCTS/MCITP
    • Edited by SenneVL Thursday, November 10, 2011 10:00 AM
    • Marked as answer by priyank15 Thursday, November 10, 2011 7:47 PM
    Thursday, November 10, 2011 9:58 AM
  • You can force delete the in-use file in command prompt. In Windows XP, go to Start > Run > type “cmd” > Ok. In the command prompt, go to the file directory and type this:

    del filename.extension

     

    Or use Unlocker

    To use command promptt, you need knowledge to handle it. To delete in Safe Mode, you need to boot up in Safe Mode and takes time. But to use a software is another method that you can use to delete the in-use file.

    After you install it, right click on the in-use file and choose Unlocker from the pop-up menu. A new window will appear and click Unlock All to unlock the file and delete it

    Download Unlocker


    Microsoft Certified Technology Specialist: SharePoint 2010, Configuring
    Microsoft Certified Personal
    • Marked as answer by priyank15 Thursday, November 10, 2011 7:47 PM
    Thursday, November 10, 2011 12:14 PM

All replies

  • Be sure, that you have FULL RIGHTS on it. ( ownership and full right)

    Be sure, that the file is not used by another program/process. Start in SAFE MODE and delete the file so..


    Microsoft Certified Technology Specialist: SharePoint 2010, Configuring
    Microsoft Certified Personal
    Wednesday, November 09, 2011 10:33 PM
  • Hi,

    I think there might be something wrong with the filesystem. I would suggest to check the harddrive for errors http://windows.microsoft.com/en-US/windows7/Check-a-drive-for-errors

    Please post back with the result!


    MCP/MCSA/MCTS/MCITP
    Wednesday, November 09, 2011 10:38 PM
  • Hi,

    I checked the hard drive for errors - it didnt find any, also tried the safe mode and delete, doesnt allow me to delete it still says the same... could not find the file in the location.  I cannot set any permissions on the file for the same reason...

    Really need to get the file out of my system somehow, I even tried to lookup for any entries of the file in the registry but found no results in the name search...

     

    Thanks

    Thursday, November 10, 2011 2:53 AM
  • does teh filename contain weird characters? Id so, it might be usefull to delete the file from command prompt:

     

    del *.user (or alike)

    using ? or * alows skipping invalid characters.

    Consider booting the system using an alternate OS to verify whether the file is visible and/or deletable that way.


    MCP/MCSA/MCTS/MCITP
    • Edited by SenneVL Thursday, November 10, 2011 10:00 AM
    • Marked as answer by priyank15 Thursday, November 10, 2011 7:47 PM
    Thursday, November 10, 2011 9:58 AM
  • You can force delete the in-use file in command prompt. In Windows XP, go to Start > Run > type “cmd” > Ok. In the command prompt, go to the file directory and type this:

    del filename.extension

     

    Or use Unlocker

    To use command promptt, you need knowledge to handle it. To delete in Safe Mode, you need to boot up in Safe Mode and takes time. But to use a software is another method that you can use to delete the in-use file.

    After you install it, right click on the in-use file and choose Unlocker from the pop-up menu. A new window will appear and click Unlock All to unlock the file and delete it

    Download Unlocker


    Microsoft Certified Technology Specialist: SharePoint 2010, Configuring
    Microsoft Certified Personal
    • Marked as answer by priyank15 Thursday, November 10, 2011 7:47 PM
    Thursday, November 10, 2011 12:14 PM
  •  "doesnt allow me to delete it still says the same... "

    Boot a repair disk. It, by definition, will have a different operating system and a different file system.

    Renee


    "MODERN PROGRAMMING is deficient in elementary ways BECAUSE of problems INTRODUCED by MODERN PROGRAMMING." Me
    Thursday, November 10, 2011 1:24 PM
  • Hi,

    It got deleted from the command prompt successfully

    Thanks,

    Priyank

    Thursday, November 10, 2011 7:47 PM
  •  "doesnt allow me to delete it still says the same... "

    Boot a repair disk. It, by definition, will have a different operating system and a different file system.

    Renee


    "MODERN PROGRAMMING is deficient in elementary ways BECAUSE of problems INTRODUCED by MODERN PROGRAMMING." Me

    You know what this mean Renee Culver? That you have to think before write something ;-)
    Microsoft Certified Technology Specialist: SharePoint 2010, Configuring
    Microsoft Certified Personal
    Thursday, November 10, 2011 8:50 PM