Is there a built-in command in Windows 7 or higher to fill a file with zero / NULL bytes?
The processing should happen in-place (i.e. it should modify the actual disk sectors / bytes of the file), and not create a new file.
Something like:
zero c:\temp\*.*
or
zero hello.bin
that would do this:
Before: hello.bin (500 MB)
5D 1A CB FF FF C0 ... AA CD 0F FF
After: hello.bin (500 MB)
00 00 00 00 00 00 ... 00 00 00 00
If there's nothing built-in for this, what other solutions exist? Or would I have to do it in C?
