create a new file with cmd code example
Example 1: make new file windows cmd
type nul > README.txt
Example 2: cmd make new file
$null > filename (including the $)
Example 3: creating file in cmd
notepad newfilename.extension
type nul > README.txt
$null > filename (including the $)
notepad newfilename.extension