Link to home
Start Free TrialLog in
Avatar of brothertruffle880
brothertruffle880Flag for United States of America

asked on

AUTORUN.INF file - Help in deciphering and making it work

My autorun.inf contains the following:

[autorun]
shellexecute="PresentationPackage/PresentationPackage.html"
icon="PresentationPackage/PresentationPackage.ico"



Shouldn't it start running as soon as I close the CD drawer?
What do the two commands above do?
Avatar of netcmh
netcmh
Flag of United States of America image

Are you running the free version of Autorun to create this inf?

If so, then
[autorun]
shellexecute=PresentationPackage/PresentationPackage.html
won't work

Copy the AutorunPro.EXE to the root, and the autorun.inf will then have:

[Autorun]
open=AutoRunPro.exe

[AutorunPro]
Run1=PresentationPackage/PresentationPackage.html

See http://www.ezau.com/latest/articles/autorun.shtml for more details

You can also use http://www.naughter.com/shelexec.html

If the above is not an option, try keeping the html file in the root and modify the inf to reflect that.
Alternatively, you could try saving the html as an hta

[autorun]
 open=PresentationPackage.hta
Is the PC set to autorun from CD?
Avatar of brothertruffle880

ASKER

the pc is set to autorun from CD.
What does the ICON = command do?
small detail - it changes the icon of the drive to the custom one that you choose
You may need to download and install the "Enable Fix It" under the section of "...How to disable or enable all Autorun features in Windows 7 and other operating systems...Windows 7, Windows Server 2008, Windows Vista, Windows Server 2003,or Windows XP" in the link below.

http://support.microsoft.com/kb/967715/en-gb
ASKER CERTIFIED SOLUTION
Avatar of BillDL
BillDL
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you brothertruffle