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:
01158889
Views:
32
Hi Christopher

>Anyone know how to pass the current date into or use it in a DOS batch file.

Not tested, mostly theory

ECHO: MyCommand > fname.bat
DATE >> fname.bat
CALL fname.bat

I don't how to remove the carriage return seperating the lines, though.

Hope it helps to give you a start.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform