[no subject]
2015-10-04 17:27:38
Already heard from the FOR loop in DOS. Well here you can use it. Try the
following command in your bat script.
for /f in "tokens=1,2" %%a in ('date /t') do set curdate=%%b
Make sure that a normal date /t on a DOSBox give you both the actual day and the
date. If this is not so you should modify the command a bit. The tokens card
specify the number of fields in the output of the "date /t" command. All the
fields will be filled in alfabetical order.
Hope you have success, oderwise mail me
Michel Engels
Raul Giraldo Suarez <rgiraldo AT BANCOLOMBIA.COM DOT CO> on 09/27/2000 09:41:28
PM
Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
cc: (bcc: Michel Engels/BE/Devoteam)
Subject: DATE IN DOS
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
|
|
|