English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

how to program autorun using cmd,vbscript or any other program,,,,,what is the code?pls help

2007-03-27 23:48:46 · 2 answers · asked by pilot 1 in Computers & Internet Programming & Design

2 answers

You can use file handling if you know the format of the file.

And all autorun files are pure text files with extension .inf Usually autorun.inf is used for cd drives to open automatically setup files.

It begins with block "[autorun]"
some commands used in autorun is "icon","open","label"

icon is to select an icon for cd or for any drive.
its syntex is icon="autorun\iconname.ico"

open is used to open a executable win32 file.
eg. open="autorun\gopi.exe"

label is used to name the cd.Although naming is also done while writing.
eg. label="gopi cd"

shell command. This is very rarely used.
For more details refer the link

2007-03-28 06:06:18 · answer #1 · answered by Gopinath M 3 · 0 0

Autorun code for what???

I have autorun code for cd...
[AutoRun]
OPEN=autorun.exe
OPEN=readme.htm
ICON=autorun.ico

icon = icon to be displated in my computer
open = file to open at auto-run
open = file to open (usually guides the individuals about the program they are about to load from the cd)

I hope this helps... simply write the code using Notepad and save it as AUTORUN.INF

Cheers!!

2007-03-28 06:55:11 · answer #2 · answered by Mac-C 4 · 0 0

fedest.com, questions and answers