Command TOUCH
Function:
Touch the date and time for a file(s).
Syntax:
TOUCH [drive:][path]filename [date] [time] [/V]
| filename | Specifies the file(s) to touch. |
| date | Specified according to the international format. |
| time | hh:mm:ss |
| /V | Show version information. |
Note:
- The system date and/or time is used when parameters date and/or time are not specified.
- Parameter date is specified according to the international format set in the Control Panel. For example, the USA date format is typically mm-dd-yyyy and the Australian date format is typically dd-mm-yyyy.
- When parameter filename specifies a file that does not exist, then that file is created and then touched.
- Command TOUCH can not be used to change the date or time for a directory.
|