Monday, April 7, 2008

Change file name with date extention

Create a batch file save this contents. It works good.

ren "C:\Program Files\Syslogd\Logs\SyslogCatchAll.txt" SyslogCatchAll%date:~4,2%-%date:~7,2%-%date:~10%.txt

No comments: