fpefpe Oct 369 2 2015-12-12 #1 Hello -- I would like to test if a file is an hour or more old. What is the best way to test for this? thanks fpe
Hello -- I would like to test if a file is an hour or more old. What is the best way to test for this? thanks fpe
vefatica May 13,738 209 2015-12-12 #2 I don't know about "best" but (using the file's WRITE timestamp) ... Code: if %@eval[(%@makeage[%_date,%_time] - %@fileage[test.csv.txt,w]) / 10000000] gt 3600 echo It's old
I don't know about "best" but (using the file's WRITE timestamp) ... Code: if %@eval[(%@makeage[%_date,%_time] - %@fileage[test.csv.txt,w]) / 10000000] gt 3600 echo It's old