| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | XBOOT3.BTM |
Hi Gerald.
31-Oct-02 09:01:34, Gerald Miller wrote to Jasen Betts
GM> :: The following section will change the date and time stamp of
GM> XBOOT3.BTM
GM> :: I use the data to maintain the XBOOT3.BTM version number sequence.
GM> :: PLEASE LET ME KNOW IF THE TOUCH SEQUENCE SHOULD GIVE YOU ANY
GM> PROBLEMS.
GM> iff %{at}fileage[%_batchname] ne %{at}makeage[10-19-02,01:30:00] then
GM> touch /d10-19-02 /t01:30:00 %_batchname
GM> endiff
it does, twice. once in makeage, once in touch, the date format is not valid
here. ISO format works but only in version 7
GM> :: ###WARNING###
GM> :: You ARE required to change "q3" (in the next line)
to the path\name
GM> :: of your text editor!!!
GM> :: DO IT NOW BEFORE YOU GET AN ERROR MESSAGE IF THERE IS AN ERROR!!!
GM> :: "Q3" is my version of the Semware Editor.
GM> on error (q3 /n%_batchline %{at}search[%0] %+ quit)
GM> on break goto END
my editor doesn't support jump-to-line.
I commented that bit out too.
GM> if "%temp" eq "" set temp=C:\
GM> :: Next command establishes the location and name of the variable
"TEMP"
GM> :: that holds the temporary information while the action is performed.
GM> set temp=%temp\%{at}name[%0].TMP
why not this: set tempfile=%{at}unique[%temp]
overwriting the variable temp may mess up any pipes in called
batches... so a different name should be used, and unique was made for
nameing temporary files.
GM> set nextdate=%{at}date[%{at}eval[%{at}date[%today] + %when]]
GM> set daysleft=%{at}date[%{at}eval[%{at}date[%nextdate] - %today]]
this chould be
set nextdate=%{at}eval[%today + %when]
set daysleft=%{at}eval[%nextdate - %today]
later it goes
GM> set nextrun=%{at}date[%{at}eval[%{at}date[%last] + %when]]
What's the difference between nextrun and nextdate? (i could find none)
i rearranged that bit to use fewer lines and only one echo line like I was
saying earlier.
GM> %[run%m]
I added a call here;
call %[run%m]
call works ok with interna commands, l *.com and *.exe files as well as
with *.btm and *.bat, aliaes, (etc) - this leaves more room in the *.dat file
for parameters etc, and stops it from messing up if you put a batch in the dat
file and forget the call.
-=> Bye <=-
---
* Origin: Anything is good if it's made of chocolate. (3:640/531.42)SEEN-BY: 24/903 120/544 123/500 400/300 633/104 260 262 267 270 284 285 SEEN-BY: 640/531 954 1674 690/682 713/615 771/4020 774/605 800/1 2432/200 @PATH: 640/531 954 774/605 633/260 285 267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.