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