Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DOS Batch files
Message
General information
Forum:
Windows
Category:
DOS commands
Title:
Miscellaneous
Thread ID:
01158882
Message ID:
01158884
Views:
22
>Anyone know how to pass the current date into or use it in a DOS batch file.
>
>I will be running a batch file from the scheduler and would like to use the current system date within the batch file.
>
>TIA,

You use the "%" plus the number of the paramater...so an example would look like this:

IF NOT EXIST %1 MKDIR %1
ICQ 10556 (ya), 254117
Previous
Reply
Map
View

Click here to load this message in the networking platform