Configuration: Windows XP Internet Explorer 6.0
Hai
First of all your operating system is not DOS as you are talking about services and variable modifiers, I suppose you are running a NT based environment like XP or 2000 where there is no DOS at all. About your problem you have to parse the output of Dir command with the /TW switch that takes into account the most recent access to write the file. Something as for /F "tokens=2" %%a in ('dir /TW log.txt') do ( echo Log.txt updated at %%~b) |
Résultats pour Monitor Log file useing DOC BATCH
Résultats pour Monitor Log file useing DOC BATCH
Résultats pour Monitor Log file useing DOC BATCH
Résultats pour Monitor Log file useing DOC BATCH
Résultats pour Monitor Log file useing DOC BATCH