home *** CD-ROM | disk | FTP | other *** search
- ECHO OFF
- REM ********************************************************************
- REM * This is common batch-file, used after compression is done. You *
- REM * are placed in the directory where the new compressed files is; *
- REM ********************************************************************
- REM * In MTA's ExitAfterCompression option, you can pass, besides your *
- REM * own, three variables to this batch. MTA will replace these *
- REM * variables with constants and will call this batch. *
- REM * *
- REM * The variables you can supply in ExitAfterCompression (optional) *
- REM * will be replaced by: *
- REM * *
- REM * %1 : Relative directory containing the compressed file. This *
- REM * parameter is obsolete, because MTA will switch to this *
- REM * directory, just before this batch is called, but is still *
- REM * available because of compatibility with previous versions *
- REM * %2 : New filename (not extension) of the NEW compressed file *
- REM * created by MTA; *
- REM * %3 : New extension (no point) of the NEW compressed file *
- REM * created by MTA; *
- REM ********************************************************************
- REM
- REM ********************************************************************
- REM * WARNING: C:\ZIP is a temporary directory MTA does not use at all *
- REM * so substitute one of your own (e.g. the root) !!!!!!!! *
- REM ********************************************************************
- REM
- REM --------------------------------------------------------------------
- REM - This example will: -
- REM - = Create a self extracting .EXE file of all files you convert -
- REM - (assumed you convert to LHarc, otherwise edit the batch to -
- REM - your own needs; -
- REM - = Delete the original compressed (.LZH) file and leave the .EXE -
- REM - file (MTA will detect this) -
- REM --------------------------------------------------------------------
- REM
- REM Create the SFX and delete the old LZH file
- REM
- LHARC s /m- /x %2.%3
- DEL %2.%3