WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Launching WinBatch and Other Apps
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Running a WB.EXE from IE

Keywords: 	 IE4 Internet Explorer 4 Winbatch

Question:

We've been trying to run a compiled WinBatch file from a link on an Internet Explorer web page. We haven't been having much luck. No matter what we try, when we click on that link it asks us if we want to save it to disk or open it. Opening it works BUT we want the program to execute immediately. Any hints?

Answer:

Well, are these public or private users? That function (open or save box) is a client controlled setting. That keeps people from making a virus and putting a link on a website and having it execute automatically. The user has the choice not to open it, or to save it for later, or to virusscan it. If this is internal, and you wish to set the client to ALWAYS open an EXE (thus opening your company to the problem described above), then there are registry settings you can make in IE. That would also be the same as clicking the "always ask me this question" box that pops up.

In MSIE, see the

View
Internet Options
Security
Trusted Sites
settings. And some others.

No way to run an exe without some interaction on the client side.

However the first one run can make registry modifications so the rest of them run quietly (I think). Once you figure out exactly how to do this...please post it here.


Alternatively..... And for MUCH faster response.....
  1. Compile the folloing program and install on all machines and define this program as the appliction for WBC file types.
    ;-snip--------
    Call(param1,"")
    ;-snip--------
    
  2. Compile your WBT file into an WBC file (encode option) and point the HTML link to the wbc file.

See also: http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q232077
Article ID:   W14249
Filename:   Running a WB.EXE from IE.txt
File Created: 2008:08:26:13:08:42
Last Updated: 2008:08:26:13:08:42