1.    4 Weeks Ago #1
    Join Date : Jul 2016
    Posts : 2
    Windows 10

    NTFS File: "Size 0 bytes" but "Size On Disk 3.98 GB (4,282,056,704)"

    I accidentally created a video file that had a colon in its file name. The command line utility that I used to create the video happily created the file without complaining, BUT now the filename became everything before the colon (not an issue) and the file itself is inaccessible. It shows up as size: 0 bytes, but when I look at the properties, it shows up a the proper size, with "Size on disk: 3.98 GB (4,282,056,704 bytes)".

    I tried to use various file recovery tools such as Recuva and Minitool Power Data Recovery, and they happily recover the file to a different drive, all 4GB of it, but the files they recover are in the same state -- still 0 bytes, but 4GB on disk.

    None of them seem to actually be accessible by any software.

    Has anyone had experience trying to restore a "0 byte" file that is still on the disk with an actual amount of bytes?

    I am technical so am not averse to doing some low level disk editing if someone pointed me in the right direction.

    Thanks in advance.

    Scott Bernstein
      My System SpecsSystem Spec

  2.    4 Weeks Ago #2
    Join Date : Jan 2015
    UK, Midlands
    Posts : 5,777
    Win 10 Pro (1607)

    Hi, I would try examining the file from a command prompt, outside Windows e.g. from SHIFT + left click restart and wend your way through the lengthy sequence and a restart to a command prompt.

    You may be able to delete it that way, perhaps by using wild cards and 8.3 format as necessary.

    Also try this search:
    deleting 0 byte file

    Lots of interesting results which may help.
      My System SpecsSystem Spec

  3.    4 Weeks Ago #3
    Join Date : Aug 2016
    S/E England
    Posts : 560
    Windows 10 Home x64 (1607)

    Quote Originally Posted by dalchina View Post
    You may be able to delete it that way, perhaps by using wild cards and 8.3 format as necessary.
    I think Scott may want to rename it rather than delete it. Perhaps there's now no way to source another copy (with a valid name for a change). Renaming may well be possible from a command prompt by wildcard or 8.3 names. It may also help if it's first copied to a USB that doesn't use the NTFS format (you may need to use exFAT to get past FAT32's 4GB file size limit).

    But probably the easiest way to rename it would be to boot from a Linux Live USB and do it from there.

    Afterthought: If you can copy the file to a FAT32/exFAT drive, it's a lot easier to manually edit the FAT file structure than it is for NTFS. This thread may give some ideas:
    Last edited by Bree; 4 Weeks Ago at 13:08. Reason: afterthought
      My System SpecsSystem Spec


Similar Threads
Thread Forum
Solved Hard drive not showing in "my computer" or "Disk Managment" help?
My hard drive not showing in "my computer" or "Disk Management" but is showing under device manager. I got the hard drive from a friend and his dad had put a Password encryption on it. Any Ideas?
Drivers and Hardware
Want to change File Explorer default View from "Details" to "List"
Hi all, I have been searching the web for an answer to this question since first getting Windows 10 last year. I would like my File Explorer to open using the "List" view rather than the current default of "Details". I have seen many responses...
General Support
Why is the "change only text size" greyed out?
I'm logged in an admin account and it's greyed out. I searched online and it seems some people have this issue as well but I couldn't find a solution.31699
General Support
Is it possible to customize icon size in "details" view in explorer?
Hi, I just upgraded from W8.1 to W10 and it looks like the icons got smaller by default in the "details" view in the File Explorer. Problem: My problem is that now the overlay icons which are used by TortoiseSVN do not seem to show anymore in...
General Support
Where are "Disk Defragmenter"and "Disk Cleanup" in Windows 10?
I just installed the Windows 10, and can't find the above 2 programs. So, I googled "Windows 10 Defrag", but they only showed where the program is in Win 7, 8, and 8.1, not where the program is in Windows 10. Any help will be very much appreciated.
General Support
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:28.
Find Us
Twitter Facebook Google+

Windows 10 Forums