create text file in cmd code example
Example 1: make new file windows cmd
type nul > README.txt
Example 2: make text file command line
cat > sample.txt
# Write some text, press Ctrl+D when you are done
Example 3: creating text file in cmd
echo. > location with name