Skip to content

Instantly share code, notes, and snippets.

View tjbarbour's full-sized avatar

T.J. Barbour tjbarbour

View GitHub Profile
@tjbarbour
tjbarbour / touch.bat
Last active February 19, 2018 18:38
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
@echo OFF
REM Need to be in current directory to touch file
pushd %~dp1
copy /b %1 +,,
popd