Sets the date and time of a file.
touch file year month day hour minutes seconds
file = any windows filename and can include full path
year = 4 digit year
month = 1 to 12
day = 1 to 31
hour = 0 to 23
minutes = 0 to 59
seconds = 0 to 59
You can download the file by clicking here.
I like having a touch utility for Windows! My only complaint is typing just touch produces an error. Instead it should show a help file.
Secondly you could include a simple installer. Write a batch file with this one line.
copy touch.exe %windir%
That way it can be used just like other command line tools.
That’s a good idea. I wrote the program quickly for a single purpose. Now that’s its publicly available, it should be more robust. An installer also makes sense.
I’ll make these additions and release the program with its source code.