Create an empty (zero-length) text file in Windows
January 19th, 2009
Run the following from a command prompt or batch file:
@echo|find /I /V "echo" > file.txt
Most other, more straightforward techniques will result in a file size greater than zero bytes (usually containing spaces, linefeeds, or other less-than-obvious text).
Leave a Reply