Written by David POstlethwaite
A non SQL blog for a change
Ever needed to create a batch file that wrote a time stamped log file that ensures the day and month number always have two digits?
SET Now=%Time: =0%
echo running Batch File.... >> %YYYYMMDD%.txt
I hope you found this helpful, please feel free to leave a comment.