home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR13
/
4D_LOAD.ZIP
/
4D-LOAD.DOC
next >
Wrap
Text File
|
1993-07-12
|
4KB
|
76 lines
Cadmos/CHAOS 4DOS Loader Utility v1.03
──────────────────────────────────────
4D-LOAD.ARJ contains the following files:
4D.BAT - The batch file that will start a 4DOS session.
4START.BTM - An example 4START.BTM file. Edit according to your own needs.
4DOS.INI - An example 4DOS.INI file. Edit according to your own needs.
4DOS.PIF - An example 4DOS.PIF file for Windows 3.1.
READY.EXE - A Cadmos Utility to get user input. Needed by 4D.BAT.
SETERLEV.EXE - A Cadmos Utility that will set ErrorLevel. Needed by 4D.BAT.
4D.BAT
This is a simple batch file that will load the 4DOS command processor.
It will check if 4DOS is the current command processor and, if so, ask you
if you want a secondary shell loaded. If you use EXIT from a first level
shell of 4DOS you are, as expected, back to COMMAND.COM or whichever
command processor you called 4D.BAT from. 4D.BAT then takes control and
asks you if you really want to stay on that processor (usually COMMAND.COM)
or to re-load 4DOS. If the first parameter is "FromWin" (exact case as
shown, no quotes) then it is assumed that 4Dos runs as a Windows shell
and you are asked if you want to close the 4Dos window.
4D.BAT assumes that the 4DOS command processor resides in the C:\4DOS
directory. If this is not the case, edit the respective line in the
batch file.
READY.EXE
This is a utility that prompts the user and expects a keystroke. It sets
ErrorLevel to the Ascii code of the key pressed. For more information on
READY.EXE use the 'READY ?' syntax.
SETERLEV.EXE
This is a utility that will set ErrorLevel to the parameter supplied.
4START.BTM
Always have a 4START.BTM file available somewhere in your path. This file
should set the COMSPEC parameter to point to 4DOS.COM, load any aliases
you might need, and, in general, customize your 4DOS session. A 4START.BTM
example is included.
4DOS.INI
4DOS.INI is an important 4DOS setup file. Quite often, when you load 4DOS
as a secondary shell, the F1 key will not invoke 4DOS Help. This is
because 4DOS cannot locate the files needed. A line such as
HelpPath=C:\4DOS
in 4DOS.INI will solve this problem. A 4DOS.INI example is also included.
4DOS.PIF
4DOS.PIF is a Windows PIF file to start 4DOS from windows. It calls
4D.BAT. In the PROPERTIES box of Windows Program Manager, add the
parameter "FromWin" (exact case as shown, no quotes) after the
4DOS.PIF entry (in the "Command Line:" entry) This will inform 4Dos.BAT
that it has been called from Windows. When you type EXIT and are about
to return to Windows, you will be notified. 4DOS.PIF expects to find
4D.BAT in C:\BATCH. Use the PIF Editor if you keep 4D.BAT in another
directory.
When using 4D.BAT then if 4D.BAT can be found within the PATH and 4DOS.BTM
and 4DOS.INI are situated in the 4DOS directory then the 4DOS directory needs
not to be included in the PATH.
─────────────────────────────────────────────────────────────────────────────
Send in any comments, suggestions or any other 4DOS utilities you might have
to:
Cadmos/CHAOS BBS
26, Skoufa Street
Athen 106 73
GREECE
Tel: (30-1) 361 1030
Data: 363 5482, 360 6044, 360 6046
FAX: 360 6059