TOUCH (Windows 2000 Resource Kit)

Change file timestamps

      TOUCH [option]... files ...

   /t year month day hour minute second

This is a POSIX utility.

Use the optional argument /t to specify a date other than the current time.
( four-digit years, two-digit months, days, hours, minutes, seconds)


   To set the date to 7:30 am 1st October 2015

   TOUCH /t 2015 10 01 07 30 00 MyFile.txt

#And smiles you'll give and tears you'll cry
And all you touch and all you see
Is all your life will ever be# ~ Pink Floyd (Breathe)


Q299648 - Date and Time Stamps for Files and Folders
COPY - Copy one or more files to another location
Equivalent PowerShell Script: touch - Change file timestamps
Equivalent bash command (Linux): touch - Change file timestamps

Copyright © 1999-2018
Some rights reserved