home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 2: PC
/
frozenfish_august_1995.bin
/
bbs
/
d08xx
/
d0827.lha
/
AskVersion
/
AskVersion.doc
< prev
next >
Wrap
Text File
|
2001-02-25
|
2KB
|
52 lines
Documentation AskVersion 0.1
AskVersion is a piece of freely distributable PublicDomain software.
AskVersion is a small utility which can be started as first command
of your startup-sequence to find out on which kickstart version you
are booting up. If you are using kickstart 1.3 it will WARN
(ReturnCode = 5). This can be easily examined within the startup-script
and lets you jump to a WB1.3 startup-script. On OS 2.0 it will do
nothing.
Example:
; This is an example startup-sequence
; All commands here have to be from your WBench 1.3 C: directory
AskVersion ; Find out the Kickstart version
C:if WARN ; Kickstart 1.2 or 1.3
MoveSys Sys:WB1.3/ ; Example Sys:WB1.3 is now sys:
; c: l: s: devs: fonts: etc = WB1.3/c ...
Execute s:Startup-Sequence.13
; This is a WBench 1.3 startup script
; which is now located in Sys:WB1.3/s
Quit ; the end
ELSE ; Else we use OS 1.4, 2.0 or greater
Execute s:Startup-Sequence.20
; This is a WBench 2.0 startup script
; which is still located in Sys:s
Quit ; the end
ENDIF
; In this example you must at mininmum have the `If` command from
; your WBench 1.3/c drawer in your c: directory; thats why the `C:If`.
Try it ...
Have Fun ...
Hans-Peter Guenther
Gruener Weg 5
3501 Fuldatal 2
W-Germany