Echo Data and Time in Windows batch http://ift.tt/1d8aua9 echo %DATE% %TIME% set DATESTAMP=...

Please Visit: http://ift.tt/1ajReyV



Echo Data and Time in Windows batch

http://ift.tt/1d8aua9

echo %DATE% %TIME%

set DATESTAMP=%DATE:~10,4%%DATE:~4,2%%DATE:~7,2%

set TIMESTAMP=%TIME:~0,2%%TIME:~3,2%%TIME:~6,2%



The code below shows how to format date and time stamps in DOS batch files. This is very useful if you are creating a log file, or any file that shou







from Public RSS-Feed of Jeffery yuan. Created with the PIXELMECHANICS 'GPlusRSS-Webtool' at http://gplusrss.com http://ift.tt/1d8auab

via LifeLong Community

No comments:

Post a Comment