Rombrain supports the viewing and reading of any Archive file format, via a batch file. Before Rombrain shells to the batch file, it will create a temporary directory on your selected work drive, or the current drive if no work drive is selected. Parameters passed to ARCBRAIN.BAT by ROMBRAIN.EXE ------------------------------------------------------------- %1 = Full Path/Name of the Archive File to process %2 = Type of Archive: ARC, ZIP, ARJ, LZH, PAK, etc. %3 = Name of the file to extract or Read from the Archive %4 = Destination Work Directory and Filename %5 = View, Read or Transfer Flag (VIEW if viewing directory) ------------------------------------------------------------- When a user selects the View Archive Command, Rombrain will shell to a batch file called ARCBRAIN.BAT. This file goes in your BRAINEX\ROMBRAIN Directory. This batch file must invoke the compression program so that it creates a listing of the archive. The listing is redirected to a file called ARCDIR.TXT, which must be placed into the CDWORK Directory. Rombrain will delete this file after it has shown to the user. When a user selects the Read from Archive Command, Rombrain will extract the file specified by the 3rd parameter passed to the batch file. The file must be extracted into the CDWORK directory. After displaying the file, Rombrain will delete it. When a user selects the Transfer from Archive Command, Rombrain will extract the file specified by the 3rd parameter. The file must be extracted into the CDWORK directory. After transferring the file, Rombrain will delete the file. The CDWORK directory will be removed when a user exits Rombrain. Under normal circumstances, you should not need to edit ARCBRAIN.BAT unless you wish to add special parameters or additional compression programs. IF YOU GET ARCHIVE ERRORS... Run Rombrain with the DIAG command, this will prevent Rombrain from hiding the error messages produced by the various archive programs. Format: ROMBRAIN DIAG