make new file using 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 make new file
$null > filename (including the $)
Example 4: how to create files in command line
notepad mynewfile.*insert file extension here*