Hello
I'm making a batch script to do backups on a Windows 2003 server, and a key part of it is getting the day name (Mon, Tue, Wed etc) using the date /t command (as below). The script works perfectly on Windows 2000, but when ran on 2003, all I get is dd/mm/yyy - no day name.
Anyone know how/where to get the day name in 2003 please? Thankyou!Code:for /f "Tokens=1-4 Delims= " %%i in ('date /t') do set dayname=%%i![]()


LinkBack URL
About LinkBacks





