Cyprich.com

Occasionally Relevant Insights from a Software Builder

By

Touch Utility

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.

2 Responses to Touch Utility

  1. 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.

  2. admin says:

    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.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.