I have the following to be able to add the date to a file name, however I need to know how to also add the time.
FOR /F "tokens=2" %%i IN ('date /t') DO SET thedate=%%i
SET mm=%thedate:~0,2%
SET dd=%thedate:~3,2%
SET yyyy=%thedate:~6,4%
)
John Tolmachoff
Engineer/Consultant/Owner
eServices For You
To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
