cmd windows new file code example Example 1: make new file windows cmd Click to copytype nul > README.txt Example 2: cmd make new file Click to copy$null > filename (including the $)