touch terminal command for windows 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.