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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Want to write AUTOPLAY.EXE code.

Status
Not open for further replies.

redwolfe

MIS
Jan 12, 2000
89
US
I want to distribute a CD to about 300 workstations throughout my company. The files are in HTML format. I would like to write an AUTOPLAY.EXE file to open the default page "Default.htm" upon insertion of the CD. Does anyone have any sample code that I can use as a guide?
 
Create a text file with the following content.
[tt]
[autorun]
open = rundll32.exe url,FileProtocolHandler default.htm
[/tt]

Save the file as autorun.inf on the root directory of the CD. You don't need to create an executable file for Autoplay.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top