This tip was printed from the MalekTips Computer and Technology Help and Tips website at http://malektips.com.
SUMMARY: Two options for outputting the current date in a DOS batch file running underneath Windows XP.
Here are two ways to output the current date in a DOS batch file under Windows XP.
Use the DATE command with the "/t" parameter:
C:\>date /t
Windows XP comes built-in with a %date% environment variable.
C:\>echo %date%
Press the "print" button on your browser or select "File" - "Print" to print this tip. Then, return to Windows XP and DOS - Output the Date in a Batch File
Standard disclaimer applies - read http://malektips.com/disclaim.html