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

Nguyễn Tân

New member
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)
9 окт. 2017 г.
 

Tìm kiếm

Back
Top