windows 10 cmd touch code example
Example 1: touch command in windows
ECHO text>file1.txt
Example 2: touch command in windows
type nul > .gitignore ---This creates empty file and works on windows 10.
ECHO text>file1.txt
type nul > .gitignore ---This creates empty file and works on windows 10.