home *** CD-ROM | disk | FTP | other *** search
-
- MultiLZH1.dopus and MultiLZH2.dopus 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 MultiLZH 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:
- Left button - Name: MultiLZH, Function: REXX:MULTILZH1.DOPUS, run async.
- Right button - Name: CREATE, Function: REXX:MULTILZH2.DOPUS, run async.
-
- MultiLZH1.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, that temporary text file is erased. Also,
- the program LHARC is used to perform the archiving, and it is copied into
- RAM: before the archiving begins. If you're low on ram, this might cause a
- problem. Once the script is finished, RAM: is cleaned up again.
-
- 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 automatically deleted when the
- scripts complete, you only 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.
-