Command Line

Command TOUCH

Function:

Touch the date and time for a file(s).
Syntax:
TOUCH [drive:][path]filename [date] [time] [/V]
filenameSpecifies the file(s) to touch.
dateSpecified according to the international format.
timehh:mm:ss
/VShow 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.

Copyright © 1995-2005 Lucien Cinc, All Rights Reserved
WinOne is an Australian registered trademark of Lucien Cinc