create file in the cmd code example
Example 1: make new file windows cmd
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*