home *** CD-ROM | disk | FTP | other *** search
- © RAM ® TGI-SERVICES 1994
-
- Version 2.0 03-12-1994
-
-
- MultiLHA1.rexx and MultiLHA2.rexx are the result of a recurrent need: to
- archive a bunch of files from different disks or directories to a single
- file. While waiting for all this to be accomplished, DOpus will be "busy"
- and not available for other uses. Hence, the MultiLHA scripts were called
- into being. They will allow you to select a bunch of files from a variety of
- disks or directories, then quietly multi-task in the background while they
- perform the actual archiving.
-
- They work in 2 parts, building the filename list, and then in the second
- program, processing that list and archiving the files.
-
- I have the two scripts assigned to the same button gadget, selectable with
- both right and left mouse buttons:
-
- Edit your startup-sequence to read Assign >NIL: Rexx: ???:
- (if you have not changed your original Startup (WB 2.x / WB 3.x) you will not have to do this.)
- next copy the *.rexx to your rexx: then load DOPUS
-
- First Load Config For Opus Find A Spare Button And Do The Following:-
-
- Left button - Name: MultiLHA, Function: Rexx Path: REXX:MULTILHA1.Rexx,
- Flags: run async,
- Right button - Name: Create , Function: Rexx Path: REXX:MULTILHA2.Rexx,
- Flags: CD Destination / run async.
-
- MAKE SURE YOU ARE RUNNING REXXMAST
-
- MultiLHA1.dopus builds the filename list, and you can keep selecting files
- from different disks and directories until you get all that you want. You
- don't have to worry about taking files from multiple floppies, the script
- will ask for them back again when it needs them.
-
- Once you have selected all the files you want, you can call the second
- script to actually perform the archiving function. The output file will be
- created in the currently selected directory, and you will be prompted for
- the filename.
-
- Note that while the scripts will handle recursive directories, the number of
- files within those directories are not counted, I just use the * option to
- grab them all. If you want an accurate count, enter the directories and
- select all the files within it, not just the directory itself.
-
- Note that the filelist is built up in a file called RAM:infiles.txt, and
- then after it is all processed, you can delete that temporary text file.
- Also, the program LHA must be in C:.
-
- If you need to abort the file selecting process and totally start over, you
- must manually delete the file RAM:infiles.txt, or your new list will be
- added to the original list. This file is not automatically deleted when the
- scripts complete, you have to delete it yourself if you want to abort
- before it is finished.
-
- While you may not have a particular need for this type of use, the scripts
- make good examples of how to snatch filenames from DOpus into your own AREXX
- scripts for whatever you want, as well as how to send messages back to
- DOpus for user display.
-
- ® RAM/TGI 1994
-