Im not familar with Windows 2008 ,but I written a batch file to calulate dates and the
age of files, which works fine on WinXP and in Win7.
Doe's Win 2008 suport the "for /f" and the "Set /a" commands in the Dos Prompt.
As Im english my date format is dd/mm/yyyyy so the program I will have to modified it.
What do these cammands produce on your system.
for %%a in (*.log) do (echo %%~ta)