touch in windows code example
Example 1: command touch in window
type nul > your_file.txt
Example 2: touch in windows
npm install touch-cli -g
Example 3: touch commend in cmd
// create files using command in command prompt ..
echo > sample.txt
Example 4: touch command in windows
ECHO text>file1.txt
Example 5: touch command not recognized in windows
type nul > your_file.txt
Example 6: touch command in windows
type nul > .gitignore ---This creates empty file and works on windows 10.