Windows 10: How to delete an empty file on desktop that Win10 says does not exist Solved

Page 1 of 2 12 LastLast

  1. Posts : 4
    Windows 10 Home 64-bit
       01 Apr 2018 #1

    How to delete an empty file on desktop that Win10 says does not exist


    I have a file on my desktop that Windows 10 insists does not exist at that location.
    A small snip of the screen showing the file next to my drive icons is attached.
    A snip of the error message is also attached when the delete command is attempted from the right-click context menu.

    I think part of the problem is that there is a space in the middle of the filename (EDMDC Dig), and there is no file extension. The size of the file is 0 bytes. The file icon is visible on the desktop and listed in any file/directory listing.

    There are plenty of supposed solutions on the web about deleting folders and files via the command line, but nothing works. They usually show deleting an empty folder and do not address the empty file issue. I have been unable to find a utility that will do the job either. I have tried and failed to find my exact problem on this forum as well.
    Attached Thumbnails Attached Thumbnails Empty FileJPG.JPG   Error Msg.JPG  
      My ComputerSystem Spec

  2. Bree's Avatar
    Posts : 8,832
    10 Home x64 (1809) (10 Pro on 2nd pc)
       01 Apr 2018 #2

    Welcome to TenForums @beckrow

    There may be some file system corruption. To fix this, try opening a Command Prompt (Admin) and type the command:
    CHKDSK C: /F

    (assuming, that is, that you haven't moved your Desktop folder to another drive. If you moved it, check that drive letter instead.)

    It will say...
    Chkdsk cannot run because the volume is in use by another
    process. Would you like to schedule this volume to be
    checked the next time the system restarts? (Y/N)
    Type Y then close the command prompt and restart the PC, chkdsk will run at boot. Depending on the nature of any corruption, the file may disappear after this. If not, it should at least be possible to delete it.
      My ComputersSystem Spec

  3.    01 Apr 2018 #3

    The space in the filename, lack of extension, and zero size are perfectly fine and shouldn't cause problems.

    When you try to delete the file from the command line are you able to see the file when you do "dir d:\desktop" and what error does it report when you try to delete it?

    Code:
    PS C:\Users\vm> dir d:\desktop
    
        Directory: D:\desktop
    
    Mode                LastWriteTime         Length Name
    ----                -------------         ------ ----
    -a----         4/1/2018   6:17 AM              0 EDMDC Dig
    
    PS C:\Users\vm> del 'D:\desktop\EDMDC Dig'
      My ComputerSystem Spec


  4. Posts : 4
    Windows 10 Home 64-bit
    Thread Starter
       01 Apr 2018 #4

    I do run my desktop from my D: drive because of limited space on my solid state boot drive.
    Just to be safe I scheduled checks on drives C: & D: after a restart. No errors were reported.
    The file still will not delete in Windows with the same error message as in my original post in this thread.
    Trying to delete from the command line with "del edmdc" (because I am already in my desktop directory) just gives basically the same error:
    del : Cannot find path 'D:\desktop\edmdc' because it does not exist.

    If I try deleting the file name with a space (i.e. EDMDC Dig) I get the error message:

    Remove-Item : A positional parameter cannot be found that accepts argument 'dig'.

    I still have the problem I started with.
      My ComputerSystem Spec

  5.    01 Apr 2018 #5

    When you do "del edmdc" press TAB to let Windows autocomplete the filename. It should automatically add quotes to handle the "space," which I suspect may not be a normal space character.
      My ComputerSystem Spec

  6.    01 Apr 2018 #6

    There is an excellent little app, Unlocker, which among other things handles problematic deletes too.
    Maybe it's worth a try!
      My ComputerSystem Spec

  7. Bree's Avatar
    Posts : 8,832
    10 Home x64 (1809) (10 Pro on 2nd pc)
       01 Apr 2018 #7

    There's always the option to boot from a usb and delete it while the OS isn't running.

    A Linux Live usb, the command prompt in the advanced options of an install or a recovery usb, or perhaps best of all, Kyhi's rescue disk...
    Windows 10 Recovery Tools - Bootable Rescue Disk
      My ComputersSystem Spec

  8.    01 Apr 2018 #8

    In File Explorer, Browse to D:\Desktop (or D:\Users\[UserName[\Desktop) is the file there? install Unlocker which adds the Unlocker icon to the Right click Context menu, and and right click the file and delete it with Unlocker which will unlock the file.
      My ComputerSystem Spec


  9. Posts : 4
    Windows 10 Home 64-bit
    Thread Starter
       01 Apr 2018 #9

    No autocomplete


    PolarNettles said: View Post
    When you do "del edmdc" press TAB to let Windows autocomplete the filename. It should automatically add quotes to handle the "space," which I suspect may not be a normal space character.
    TAB does not seem to do anything. Cursor does not move.
      My ComputerSystem Spec

  10.    01 Apr 2018 #10

    Does the file show up when you do "dir"?
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Solved Can't delete file on Desktop in General Support
There is a rar file on my desktop which I can not delete. It was from a wallpaper pack I was downloading from MEGA but I had cancelled it before it finished. Now it is on my desktop and no matter what I do it won't be deleted. I am not able to press...
. The attached screenshot shows an empty Downloads folder in a Win XP-type of folder setup. I accidentally moved this empty folder from my C:\Users folder. The folder is empty because my Downloads are actually on the E partition, as you can see...
In the program JRiver Media Center (MC), I was experimenting with saving my TV Recordings/subscriptions directly to the appropriate "seriesName" folder using the "Apply these tags (optional)' tool in the TV series' subscription rules. Anyways .......
Hi. I came across a very annoying problem. In the rush of multitasking I copied a folder that was being deleted at the time and pasted it onto my Desktop. Now I have an empty folder icon on my desktop with no name and I can't do anything with it. ...
There is alot of empty space to the right of my start group and I can't seem to resize it or delete it, the only way I can interact with that area is if I drag something in it and only can I rename the group. Heres a pick I found online if no one...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

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