Saved Bookmarks
| 1. |
Solve : File date? |
|
Answer» How can I start a command if a file is older then 2 days or 48 hour? :-? Unless you are prepared to write a boatload of if statements, doing date arithmetic in batch code is not a simple matter. This utility program does simple arithmetic and date arithmetic: http://www.ferg.org/fdate/ It is free. Quote First you'd have to isolate the day value and subtract one. You can imagine the fun if the day value resolves to the first of the month. |
|