windows bash create file code example Example 1: how to create empty file cmd windows copy NUL test.txt Example 2: make new file windows cmd type nul > README.txt