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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top