เขียนให้อ่านอัตโนมัติ กับไฟล์ประเภท index.html หรือ .htm

เขียนแผ่น Autorun อ่านไฟล์ HTML

 

หากต้องการให้เปิดแผ่นแล้วอ่านไฟล์ index.html  หรือ  index.htm เป็นไฟล์แรก ทำตามขั้นตอนเหมือนกับ autorun exe แต่แก้ไขไฟล์ autorun.inf  ด้วย notepad โดยใช้คำสั่งตามตัวอย่างต่อไปนี้

 

[Autorun]

open=AutoRunPro.exe /s

[AutorunPro]

Run1=index.html

 

-ถ้าต้องการให้มี Icon ด้วย ให้แก้ไขไฟล์ autorun.inf  ตามตัวอย่างต่อไปนี้

 

[Autorun]

open=AutoRunPro.exe /s

icon=youricon.ico

[AutorunPro]

Run1=index.html

 

-ในกรณีที่ Icon อยู่ในโฟลเดอร์อื่น เช่น อยู่ในโฟลเดอร์ images แก้ไขไฟล์ autorun.inf  ตามตัวอย่างต่อไปนี้

 

[Autorun]

open=AutoRunPro.exe /s

icon=images\youricon.ico

[AutorunPro]

Run1=index.html

 

 

แปลจากภาษาอังกฤษล้วนๆ เลยนะถ้ากลัวว่าแปลผิด ไปดูที่ของจริงที่ :

http://www.ezau.com/latest/articles/autorun.shtml