Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

autoexec.bat

Status
Not open for further replies.

amalthea

Programmer
May 30, 2002
7
US
Hello,
I would like to have place the autoexec.bat file on a cd and have it launch an internet explorer file when someone inserts the cd. What lines do I need in the bat file?
Thanks...
 
Hi amalthea;

You don't need a autoexec.bat file. To automatically start a program from cd you need an autorun.inf file.

Create the following file in notepad:
[autorun]
open=iexplore.exe

save as autorun.inf.
Now when you burn your CD, include this file with a copy of iexplore.exe

Ed Please let me know if the suggestion(s) I provide are helpful to you.
Sometimes you're the windshield... Sometimes you're the bug.
smallbug.gif
 
FYI to all this
Karen has a tool on this page that lets you create your only autorun.inf for those who aren't text types.
worth a look.
 
If you want to go to a specific website then use
"iexplore (Website)" for exaple iexplore Greg Palmer

----------------------------------------
Any feed back is appreciated.

And remember if it doesn't work just flush it down the toilet. [Flush]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top