home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
UTIL_ARC
/
MTA_VF57.ZIP
/
MTA__BAT.ZIP
/
BATCHES.DOC
next >
Wrap
Text File
|
1990-09-09
|
3KB
|
58 lines
I have included some examples of batches that can (must) be used with
MTA. The collection contains the following files:
MTACHILD.BAT Usage : When MTA must call itself (with swapping)
when an arc-in-arc file is converted. See
MTA.CTL;
MTABETWE.BAT Usage : An extended example (containing the MTA_CRC
and MTA_DIR programs) of the batch that can
be called in the ExitBetweenConversion exit
of MTA;
MTABETWN.BAT Usage : A normal example (containing normal CRC32
and DOS DIR programs) of the batch that can
be called in the ExitBetweenConversion exit
of MTA;
MTACOMPN.BAT Usage : An example that can be used in the exit
ExitAfterCompression;
MTASTART.BAT Usage : An example that can be used in the exit
ExitBeforeStart;
MTA__END.BAT Usage : An example that can be used in the exit
ExitBeforeEnd;
MTAFORMT.BAT Usage : An example that can be used in the exit
ExitBeforeFill (only with /D and the
AllDisketteFiles options set to ON);
MTACATLT.BAT Usage : An example that can be used in the exit
ExitAfterFill (only with /D option set
to ON);
All exits are optional, you do not have to include them at all. The
following general rulles apply to all batch-files:
- MTA will clear the screen (it's own screen);
- MTA will restore the cursor;
- MTA wil NOT restore the video-mode. If MTA is started with, lets
say 43-lines support and some of the (buggy!) programs that are
called in a shell will restore the screen to 25-line mode and
not back to 43-line mode after they have finished, MTA will not
restore the mode back to 43-line support (see DOC). MTA WILL act
according to the new screen dimensions and will reset it's own
screens to the new mode;
- MTA will call COMMAND.COM (or an alternative shell) with /C. This
is ALWAYS done with help of the COMSPEC variable;
- You do not have to call a batch, you can also call a program, but
in this case you must either have the program in the DOS-path or
supply the full path and name of the program;
- MTA will preserve the directory, so you can change the directory
to something else, MTA will change it back after the call returns
to MTA;
- You can include a full 'circus' in your batch-files. In this case
it is advised to use the swapping program (look into MTACHILD.BAT
for an example);