home *** CD-ROM | disk | FTP | other *** search
- .bra {
- .ket }
-
- lab lhanotfound
-
- which >NIL: LHA
- if warn
- path >NIL: $lhapath remove
- unset >NIL: lhapath
- echo "Damit dieses Skript korrekt funktioniert benötigen Sie den Archiver"
- echo "LHA in ihrem Suchpfad. LHA konnte nicht gefunden werden. Geben Sie"
- echo "jetzt den Pfad zu LHA an!"
- echo "To work properly this skript needs the archiver LHA somwhere in your"
- echo "searchpath. To continue, you need to enter the Directory where LHA"
- echo "is located."
-
- which >NIL: requestfile
- if warn
- echo "Pfad zu/Path to LHA : " NOLINE
- set >NIL: lhapath ?
- else
- set >NIL: lhapath `requestfile c: Title="Loaction of LHA" DRAWERSONLY`
- endif
-
- path >NIL: $lhapath add
- if warn
- echo "Dieser Pfad existiert nicht!"
- quit
- endif
- skip back lhanotfound
- else
- set lhapath "NOTSET"
- endif
-
- echo "Dieses Skript entpackt das gewünschte Programm in dieses Verzeichnis."
- echo "This Skript unpacks the desired Program into the current Drawer"
- echo "Möchten Sie fortfahren (y/N)?"
- ASK "Do you wish to continue (y/N)?"
-
- if warn
- echo "Start"
- list #?.(lha|lzh) to t:unpfishtmp{$$} lformat="lha -IamxMnF x %n*Ndelete >NIL: %n"
- if not fail
- execute t:unpfishtmp{$$}
- delete >NIL: t:unpfishtmp{$$}
- endif
- echo "Wählen Sie Fenster/aktualisieren aus dem Workbench Menü!"
- echo "Choose Window/Update from the Workbench menu!"
- endif
-
- echo "Fertig!"
- echo "Done."
-
- if "NOTSET" not eq $lhapath
- path $lhapath remove
- unset lhapath
- endif
-