Question:

Autorun.ini - how to make an autorun.ini for my usb key ?

by  |  earlier

0 LIKES UnLike

I know it's able to change the icon of my usb key, it's able to rename my usb key... In short, I don't know much about it.

For example, how would you explain me that :

[Autorun]

Open=***********.exe

Action=Start ***********.com

Icon=***********.exe

Label=***********

Could someone teach me some about autorun.ini files ?

Thanks in advance to all of you for helping.

 Tags:

   Report

2 ANSWERS


  1. It's Autorun.inf, not autorun.ini.

    [Autorun]

    open=program.exe (runs when drive is inserted)

    icon=icon.ico (icon of drive)

    label=your label


  2. You mean an Autorun.inf file?

    [Autorun]

    open=program.exe (name of the program)

    icon=icon.ico/program.exe (icon of the program, it could be an .exe file or an .ico file for the drive)

    If you want to make an Autorun file for a .VBS file, make a batch file to open it.

    For example 'Autorun.Bat'

    @echo off

    start *****.vbs

    exit

    and your autorun file will be:

    [Autorun]

    open=Autorun.bat

    icon=icon.ico (icon of the program, it could be an .exe file or an .ico file for the drive)

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.