windows create empty file code example
Example 1: how to create empty file cmd windows
copy NUL test.txt
Example 2: creating an empty file in windows
type NUL > 1.txt
Example 3: create empty file command prompt cmd
echo . > file_name.ext // you will get nothing written there, totally blank