make new file windowa terminal code example Example 1: make new file windows cmd type nul > README.txt Example 2: cmd create empty text type NUL > file.txt