how to make a new file in windows cmd code example
Example 1: make new file windows cmd
type nul > README.txt
Example 2: create file and write to it cmd
echo some-text > filename.txt
Example 3: cmd create empty text
type NUL > file.txt
Example 4: create empty file command prompt cmd
echo . > file_name.ext // you will get nothing written there, totally blank