home *** CD-ROM | disk | FTP | other *** search
- Resident >NIL: C:RequestFile PURE
- Resident >NIL: C:RequestChoice PURE
-
- ; $VER: UnLZXer v1.0 (8.2.97) Richard Burke
-
- lab beg
- if EXISTS ENV:File
- delete >NIL: ENV:File
- endif
-
- if EXISTS ENV:Mr
- delete >NIL: ENV:Mr
- endif
-
- if EXISTS ENV:Drawer
- delete >NIL: ENV:Drawer
- endif
-
- if EXISTS ENV:unlzx
- delete >NIL: ENV:unlzx
- endif
-
- which unlzx all >ENV:unlzx
- if WARN
- Requestchoice "UnLZX Error Message" "Can't find 'UnLZX' tool! *nSee docs for details!" "Quit"
- quit
- endif
-
- Requestfile >ENV:File TITLE "Choose the file to decrunch" POSITIVE Decrunch PATTERN #?.lzx
- if WARN
- delete >NIL: ENV:File
- quit
- endif
-
- lab Drw
- Requestfile >ENV:Drawer TITLE "Choose the drawer to decrunch to" DRAWERSONLY POSITIVE Decrunch
- if WARN
- delete >NIL: ENV:Drawer
- quit
- endif
-
- lab ex
- $unlzx x -x $File $Drawer
-
- lab MrFls
- Requestchoice >ENV:Mr "More files to decrunch?" "Do you want to decrunch more LZX files?" "Yes" "No"
- if $Mr EQ "0"
- skip end
- else
- skip back beg
- endif
-
- lab end
- echo ""
- echo " *e[1;32m Thank you for using"
- echo " *e[1;4;43m UnLZXer"
- quit