CODE
LIBARY.COM
Home
/
Batch
Batch Set Date
Set Date
@ECHO OFF FOR /F "TOKENS=1* DELIMS= " %%A IN ('DATE/T') DO SET DATE=%%B ECHO It's %DATE% today
@ECHO OFF FOR /F "TOKENS=1* DELIMS= " %%A IN ('DATE/T') DO SET DATE=%%B ECHO It's %DATE% today
Copy to Clipboard
Related Snippets
Batch List shared netnames on a server
Batch Obtaining user input
Batch System Uptime
Batch Boot Drive Letter
Batch Boot Drive Check
Batch Checking current drive
Batch NET WHO command replacement2
Batch BIOS Date
Batch Sytem
Batch Simple ECHO Command