creating a new file windows 10 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
type nul > README.txt
echo some-text > filename.txt