create a new file command line code example
Example 1: create file command line
type nul > README.txt
Example 2: how to create files in command line
notepad mynewfile.*insert file extension here*
type nul > README.txt
notepad mynewfile.*insert file extension here*