 Attrib -r

＜概要＞
　ファイルの読み取り専用属性をオフに変更します。REXXプログラムとするほどのものではないですが(^^;、ドラッグ＆ドロップのサンプルです。
　私はCD-ROMからコピーしたファイルの読み取り属性をオフにするために使用しています。

＜前提条件・制限＞
　特になし。

＜インストール＞

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

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

＜実行＞
　目的のファイルのアイコンをプログラムオブジェクトにドラッグ＆ドロップしてください。注意として、ドラッグ＆ドロップの直後はシュレッダにファイルをドラッグしてもまだ読み取り属性が反映されないのか、削除できません。数秒待つ必要があります。

ENGLISH TRANSLATION WITH GOOGLE
----------------------------------
Attrib -r

<Overview>
　Change the read-only attribute of the file to off. It's not as good as a REXX program (^^; but it's a drag-and-drop sample.
I use it to turn off the read attribute of files copied from the CD-ROM.

<Prerequisites and Restrictions>
 nothing special.

<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. Select the OS/2 window in the Sessions tab and check Minimize on startup and Close on exit.

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

<Execute>
　Drag and drop the icon of the desired file onto the program object. As a note, even if the file is dragged to the shredder immediately after the drag and drop, the read attribute is not reflected yet, or it cannot be deleted. You have to wait a few seconds.

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