how to open and create a txt file using command prompt code example Example: make new file windows cmd type nul > README.txt