how to create a text file cmd prompt windows 10 code example
Example 1: write file using command windows
echo some-text > filename.txt
Example 2: make new file windows cmd
type nul > README.txt
echo some-text > filename.txt
type nul > README.txt