tfchui's Computer Support and Troubleshooting
Search This Blog
Saturday, May 30, 2009
Parse Date in Batch
FOR /F "tokens=2-4 delims=/ " %%1 IN ('DATE /T') DO (
SET MONTH=%%1
SET DAY=%%2
SET YEAR=%%3
)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment