touch command in win 10 code example Example 1: command touch in window Click to copytype nul > your_file.txt Example 2: touch command in windows Click to copyECHO text>file1.txt