-
-
Save nkundu/3d0c770c76667f70114302e351b16966 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 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