
Browsing archived image files

＜概要＞
　圧縮ファイルを一時ディレクトリに解凍し、Enterキーが押されたら一時ディレクトリごと削除します。……それだけのプログラムのはずが、OS/2ではディレクトリの代わりにLight tableを使うことで、サムネイル付き画像ビューアになります。(^^)
　unzip（拡張子zip）とlha（拡張子lzh）に対応しています。
　これのおかげで、Windows95のツールを使うためにいちいちリブートする必要がなくなりました。

＜前提条件・制限＞
　OS/2のLight tableが使用できること。OS/2版unzip.exeとlha.exeがパスの通ったディレクトリにインストールされていること。環境変数TEMPに一時ディレクトリが指定されていること。

＜インストール＞

    ソースを適当なディレクトリにデータファイルとしてコピーします。
    新規のプログラムオブジェクトを作成し、パスおよびファイル名にコピーしたソースを指定します。パラメータはありません。作業ディレクトリは指定不要です。セッションタブでOS/2ウィンドウを選択し、始動時最小化のチェックを外し、終了時にクローズをチェックします。 

＜パラメータ＞
　なし。ただし、TRACEコマンド用のパラメータが指定できます。

＜実行＞
　圧縮ファイル（拡張子zipあるいはlzh）のアイコンをプログラムオブジェクトにドラッグ＆ドロップしてください。環境変数tempで指定された一時ディレクトリに、圧縮ファイルから拡張子を除いた名前のディレクトリ（Light table）が作成され、圧縮ファイル内の全てのファイルが解凍されます。プログラムは一時中断し、Light tableが開きます。Light tableを見終わったらら、OS/2プロンプトでEnterキーを押してください。Light tableがまるごと削除されます。


ENGLISH TRANSLATION WITH GOOGLE
-------------------------------
Browsing archived image files

<Overview>
Decompress the compressed file to a temporary directory, and delete the entire temporary directory when the Enter key is pressed. ...... It should be just that program, but on OS/2, by using Light table instead of directory, it becomes an image viewer with thumbnails. (^^)
Supports unzip (extension zip) and lha (extension lzh).
Thanks to this, it is no longer necessary to reboot each time to use Windows 95 tools.

<Prerequisites and Restrictions>
　OS/2 Light table can be used. The OS/2 versions of unzip.exe and lha.exe must be installed in a directory in your path. A temporary directory must be specified in the environment variable TEMP.

<Installation>

    Copy the source to a suitable directory as a data file.
    Create a new program object and specify the copied source for the path and filename. No parameters. It is not necessary to specify the working directory. On the Sessions tab, select OS/2 Windows, uncheck Minimize on startup, and check Close on exit.

<Parameter>
 none. However, you can specify parameters for the TRACE command.

<Execute>
　Drag and drop the icon of the compressed file (extension zip or lzh) onto the program object. A directory (light table) with the name of the compressed file minus the extension is created in the temporary directory specified by the environment variable temp, and all files in the compressed file are decompressed. The program will pause and the Light table will open. After viewing the Light table, press Enter at the OS/2 prompt. The entire light table is deleted.

LINK
https://web.archive.org/web/20041116153428/http://www2u.biglobe.ne.jp/~gwm01021/rexx3-4.htm