web enabled com/exe files -

They have: 27 posts

Joined: Mar 1999

Is there a way to have a perl file, or any script, point to a users hardrive/myprogram.exe.

My problem: I have one link that needs to point to a users hardrive. This works fine, except that IE asks the user, "do you want to download or run the exe file.." I'd like to avoid this screen so the website feels more seamless. I can "add application" under IIS with a .pl (or whatever) extension, and then tell the server what app to associate with this extension. If I made a unique extension, like .myprogram, I could have this file point to the users hardrive. My dilema is I don't know how to have a script point to the clients hardrive, putting in c:\ of course points to the server; I'm fairly new to perl/cgi use, so I though maybe perl could do it.

They have: 5,633 posts

Joined: Jan 1970

sorry pal, there's no way doing this....
but what kind of file do you want to run on the client-machine???
maybe you can handle it somehow easier...!
cu
TD

They have: 27 posts

Joined: Mar 1999

The program is a rather large application that puts a gui interface over an old vax screen interface. I don't thinks that there is any way to bypass the use of this program. We run this within a 'secure' intranet, all users have IE40.

They have: 5,633 posts

Joined: Jan 1970

There is a way to do it, although I dont know exactly how.

You need to use a Java applet which request the privilege from the user to run an executable. This time the user would click "remember this decision." That way on the next try the program should simply run.

------------------
Malte Ubl
Germany

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.