PDA

Click to See Complete Forum and Search --> : How to run a Program By Clicking a link?


BJ
Mar 2nd, 2001, 07:37 AM
I have programmed VB and used asp pages. But I cannot sit down and write an asp page. So I need specific details on how to write a script to run a program.

Here is what I have done. I have written 30 .bat files that install printers on a persons machine. I have created links to these .bat files. When a person clicks on the link a message box pops up and says "do you want to save this file or run it?" The person clicks run and it installs the printer.

I want to click on the link and it automatically run the .bat file. I was thinking the link should be a script that says call "Link to .bat file".

Thanks
Brandon

JoshT
Mar 2nd, 2001, 12:52 PM
For security reasons you cannot normally automatically execute files through a web browser. If you could, someone could do something like use a http redirect to the .exe for BO2K or Netbus or something.

Josh

BJ
Mar 2nd, 2001, 02:50 PM
I know you guys know more about it than I do, but I know that you can run vb script from a web page. Why couldn't that script call an executable.

Thanks
Brandon

KingDavid
Mar 2nd, 2001, 06:35 PM
There's got to be a way to do it. MSN gaming zone is an example...

there is 2 ways to log on
click on a link to a game.

or run the zone.exe file in you're program files then click file>log on as

both of them bring up the logon screen and friends window.

I don't know how to do it, I'm just saying its not imposible

JoshT
Mar 5th, 2001, 06:34 AM
If there is a way to do it, it will get patched, as people will use it to put trojans on others' computers. I believe people have gotten trojans from MSN gaming though.

Brandito
Mar 5th, 2001, 12:21 PM
... I have your answer.

Dispite popular belief it is possible to do what you want. Back in the day MS would add objects to enhance your browser to "super human levels". They stopped doing that because people were taking advantage of them. You can still get them to code with though.

The one you are looking for is called...
TMPK (if memory serves me correctly)

Becareful though... it is dangerous!
I posted a big exploit on it a few years ago.
That's why I wont take part in helping...

C Ya,
Brandito