Incode Systems Home Page Incode Systems, Inc.


touch



(Windows 95 or higher command line utility)

touch - Copyright (C) 2010-2012, Incode Systems, Inc.
www.incodesystems.com mailto:sales1Usage: FileName

touch changes both the last access and last modified time
of FileName to the current time. FileName is created if not found.

FileName may contain wildcards (?,*).

If FileName begins with the name following is assumed
to be a text file containing the names of files to touch.
Leading and trailing blanks are trimmed, and blank lines
or lines with ; as the first character are skipped.
Use by itself to read the standard input.

Options:
-a
Change only the access time.
-c, --no-create
Do not create files.
-ct
Also change creation time.
-d=m/d/yyyy
Use given date (format per system settings).
-days=n
Increase current file date by n days (negative to decrease).
-fat
Round file time to FAT time (nearest 2 seconds).
-m
Change only the modified time.
-mins=n
Increase current file time by n minutes (negative to decrease).
-r, -reference (self-reference)
Change modified and/or access time to creation time.
When used with -fat option, converts existing time(s) to FAT time.
-r=filename, -reference=filename
Use time of reference file instead of current time.
-t=h:mm:ss.ms
Use given time (format per system settings).

Version 1.0.3
www.incodesystems.com
mailto:sales1To see complete usage, type touch /? | more