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