branding




Software >> Web browser software

 |  Print Topic Pages: 1
BrainCellAnon
new user


Reg'd: Sun
Posts: 1
Run exe from link/button using webpage (html?)?
      #440396 - Sun Oct 18 2009 09:54 PM

Hi all!
Wasn't sure if this was the correct forum, but as (I think) this is browser related, well, thought I'd start here. I'm sure I'll be told other wise, a?

I've been setting up a USB stick with a dozen portable programs (next step is to 'play' with an OS on a USB... hmm!) and I got to thinking about some sort of 'autorun' when the USB stick is plugged in. A bit like all the PC magazines free CDs/DVDs (and other mags I don't know about) that have thier own 'interface' displayed with 'links' to install and sometimes even to run programs from the CD/DVD. But that seemed a little too complicated for my brain cell at this very moment!

So I was thinking that if I make a simple webpage, with a simple table, with simple links to the programs all would be, well, simple! I could just click on that and voila! Links are us (well, me! {:o)

FYI - The webpage is on the route (lowest level??) of the USB stick. If my understanding is right, the route would be C: for the main hard drive, but as pluging in a USB device gives a different drive letter on different computers I've just placed the All_Programs.html in the first 'level' (route, would that be right??) and the program is installed in the 'ThunderbirdPortable' folder (er, which is also on the route... 1st level)! I hope that makes sense?!

Within my 'All_Programs.html' is a table and within each cell I've tried (for instance):

<a href="ThunderbirdPortable\ThunderbirdPortable.exe">Thunderbird</a>

I also tried a button in a 'form' like this:

<FORM METHOD="LINK" ACTION="ThunderbirdPortable\ThunderbirdPortable.exe">
<INPUT TYPE="submit" VALUE="Thunderbird">
</FORM>

I have even dabbled with JavaScript using this bit of code:

<SCRIPT>
function RnThndBrd() {
document.location.href = "ThunderbirdPortable/ThunderbirdPortable.exe";
}
</SCRIPT>
in the <head> section and:
<input type="button" name="but1" value="Thunderbird" onclick="RnThndBrd();">
in the <body> section.

All of these ask if I want to save the ThunderbirdPortable.exe file! So not quite there yet! Hmm!

So, all you brainiacs out there, is there a way to run a program from a webpage via my All_Programs.html (er, using any browser) so that when I use my 'All My Progams' USB stick on someone elses computer (Mothers, Fathers, Sisters, Nephews or friends) rather than having to open (explore) the USB stick and click on individual exe files?


I have noticed that a lot of the magazine CDs/DVDs have some sort of 'Autorun.inf' file plus an exe and ico file in the route. Not sure if I want to ask about that yet, or even here, as there may be an answer to this! If not, guess I'll open a new thread on autoruns, but that's for later maybe!

Many regards...


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1

Rate this topic

Jump to


Extra information
0 registered and 8 anonymous users are browsing this forum.

Moderator:  Mouse, Joe_London, John_McKenna, putasolutions, bricat, Hello_There, TheFatControlleR 


Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      Mark-up is enabled

Rating:
Topic views: 0

Contact Us | Privacy statement Main website



Search

© Copyright IPC Media Limited 2009, All rights reserved