How to set date and time on a file ?

  • Thread starter Thread starter Al Dykes
  • Start date Start date
A

Al Dykes

Is there a way to set date and time on a file match the current clock
on a system that doesn't have the equivalant of the Unix "touch"
command on it ?

Thanks
 
copy /b filename+,,

It says to concatinate filename with nothing (comma 1) and rename it to nothing (comma 2) which will update the time cos it's now a new file.
 
Back
Top