Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to set the file modification time?
#1
I'd like to be able to set the modification time of a file from Quick Macros.
Any suggestions?
Thanks, John

In Linux, there's the "touch" command: https://superuser.com/questions/10426/wi...mand-touch
#2
Code:
Copy      Help
str file="Q:\Test\test.txt"
DateTime t.FromComputerTime(1)
FileSetAttributes file 0 3 t


Forum Jump:


Users browsing this thread: 1 Guest(s)