Last active
February 19, 2018 18:38
-
-
Save tjbarbour/6356774 to your computer and use it in GitHub Desktop.
touch.bat
Works like bash "touch" command that just updates a file's date modified time.
Taken from: http://stackoverflow.com/a/923927/37207 and http://stackoverflow.com/a/659672/37207
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo OFF | |
REM Need to be in current directory to touch file | |
pushd %~dp1 | |
copy /b %1 +,, | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment