Skip to content

Instantly share code, notes, and snippets.

@Zyten
Last active November 8, 2017 22:06
Show Gist options
  • Save Zyten/028a242da651398f53a1ce5f35e80afc to your computer and use it in GitHub Desktop.
Save Zyten/028a242da651398f53a1ce5f35e80afc to your computer and use it in GitHub Desktop.
One-liner to mock Unix touch command in Windows to create new empty files
REM Usage: touch mynewfile.txt
copy /b NUL %1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment