mini hacks: dos, batch etc
Sunday, February 26th, 2006there’s plenty more of these one liner type hacks to follow, so check the recently updated sidebarÂÂ
how to create a datetime and assign it to a variable
for /f “tokens=1,2,3 delims=/ ” %%a in (’date /t’) do @set timestamp=%%c%%b%%a

Blog