How do I change the date modified on a file in CMD?

How do I change the date modified on a file in CMD?
Answer
The first command sets the creation timestamp of the file text. txt to the current date and time.

…

The three commands that you require are the following ones:
  1. EXT). creationtime=$(DATE)
  2. EXT). lastaccesstime=$(DATE)
  3. EXT). lastwritetime=$(DATE)
 

Tìm kiếm

Back
Top