Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Autorunning a website from a cd
Old 04-17-2004, 08:52 PM Autorunning a website from a cd
Novice Talker

Posts: 5
Trades: 0
Does anyone know how to write an autorun file that will cause a website (saved on cd) to automatically open the computer's default browser and load the index.htm file? I read that the typical autorun file won't work because there has to be another set of commands to determine the default browser and call it first. Seems to me, though, that opening the index.htm file would automatically cause the browser to open, much like clicking on a word document will open word...
tracy1 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-19-2004, 07:26 AM
Eml
Eml's Avatar
Novice Talker

Posts: 6
Trades: 0
u need to put autorun.inf on root of cd

autorun.inf need to have in this:

[autorun]
open=iexplore.exe index.htm
icon=youricon.ico

try it
__________________
help freelancers - offer them a job !!!

Please login or register to view this content. Registration is FREE

Last edited by Eml; 04-19-2004 at 07:33 AM..
Eml is offline
Reply With Quote
View Public Profile Visit Eml's homepage!
 
Old 04-20-2004, 02:39 AM
Average Talker

Posts: 15
Trades: 0
There are two simple ways to get what you want.

1. Use autorun.bat file. This method is simple but you will get black terminal window blinking on CD autorun. Root files on CD are:

--- autorun.inf ---
[autorun]
open=autorun.bat
icon=youricon.ico

--- autorun.bat ---
index.htm

2. Use autorun.exe file. This method is less simple (but still simple). Write an executable that executes applications specifien in param strings. Id you have difficulties with it I could write autorun.exe for you

--- autorun.inf ---
[autorun]
open=autorun.exe index.htm
icon=youricon.ico

--- autorun.exe ---
...
__________________
Software outsourcing / Free bulletin board, hit counter and banner exchange services

Please login or register to view this content. Registration is FREE
Masterhard is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Autorunning a website from a cd
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.21404 seconds with 12 queries