Cannot delete 0 Byte File


  1. Posts : 1
    Windows 7 Ultimate x64
       #1

    Cannot delete 0 Byte File


    I have a 0 byte file that is in my pictures and I cannot delete/copy/cut it. It's been on my computer for a few years and I've tried to do a lot to get rid of it. The original picture is long gone. When I attempt to open the file, there is no program on my system that can open it. Help please?

    Cannot delete 0 Byte File-forum-help.jpg
      My Computer


  2. Posts : 10,485
    W7 Pro SP1 64bit
       #2

    Welcome to the Seven Forums.

    Since you have tried lots of things - anything that we suggest will most likely be something that you have already tried.

    The first thing that I would try is to make sure that the filing system is healthy via CHKDSK. See these two links:
    Disk Check
    Check Disk (chkdsk) - Read Event Viewer Log

    Then try this check:
    SFC /SCANNOW Command - System File Checker

    You can also try Unlocker. Make sure to uncheck any junk that it wants to install.

    Cannot delete 0 Byte File-unlocker-junk.png

    Once Unlocker is installed, right-click on the file that you want to delete and select Unlocker from the context menu.
      My Computer


  3. Posts : 59
    Windows 7 ultimate 64 bit
       #3

    Cannot Delete 0 Byte File on Desktop


    Bunch of solutions for this issue on that page.
    the main one that worked for me was
    navigating to the directory in an elevated command prompt
    EXAMPLE
    CD C:\users\(username)\downloads
    then typing dir /x to find the 'short' file name of the corrupted file Example: Fairyt~2 was mine
    then typing del (shortname)
    EXAMPLE

    The trick is to delete the file using its short name. To discover the short name,
    open a command line window, and type DIR /X. This will show you two names for the
    zero byte file--the normal one and a "short name" that consists of the first 6
    letters of the file name, a tilde (~), and a number. Now use DEL with the short
    name.
      My Computer


  4. Posts : 2
    Windows 7 Home Premium 64 bit
       #4

    Thank you so much!!! I was ready to pull my hair out over two files I couldn't get rid of and your solution worked perfectly!!




    Johnthefast said:
    Cannot Delete 0 Byte File on Desktop


    Bunch of solutions for this issue on that page.
    the main one that worked for me was
    navigating to the directory in an elevated command prompt
    EXAMPLE
    CD C:\users\(username)\downloads
    then typing dir /x to find the 'short' file name of the corrupted file Example: Fairyt~2 was mine
    then typing del (shortname)
    EXAMPLE

    The trick is to delete the file using its short name. To discover the short name,
    open a command line window, and type DIR /X. This will show you two names for the
    zero byte file--the normal one and a "short name" that consists of the first 6
    letters of the file name, a tilde (~), and a number. Now use DEL with the short
    name.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:50.
Find Us