合氣寶寶 <laster.bbs@celab2.ee.ntou.edu.tw> 次寫入到主題
<3SaLZe$w9i@celab2.ee.ntou.edu.tw>...
>
> 請問有人會寫cd的auto-run程式嗎?
>
> 煩請不吝賜教
>
很簡單的. 只要在CD的root目錄區內產生一個
AUTORUN.INF的檔案, 內含以下資料:
[autorun]
open = RunPgm
icon = Icofile
其中, RunPgm 是你要Autorun的程式的相對於
CD root的路徑名稱, Icofile也是一樣, 不過
用來指定CD在檔案管理員內所顯示的Icon, 可
以是BMP,也可以是ICO檔.
就是這樣子而已.
-- 市隱