How to run an exe on a web site
-
I have an application and I would like to know if it is possible to run it remotely on the internet by pressing a link on a web site and if yes, how can I do that? Thanks in Advance sirtimid
You can start an application on your webserver with a server-side script (ASP for example) MS
-
You can start an application on your webserver with a server-side script (ASP for example) MS
-
Thank you very much! If this is possible can you please give me some references on how to do that with ASP? If you have any link which there is an example it would be very helpfull! Thanks sirtimid
With ASP the following script on your website should do the trick. <% @ Language="VBScript" %> <% Option Explicit %> Start an exe-file with ASP script <% dim wsh set wsh = Server.CreateObject("wscript.shell") wsh.Run("C:\Windows\Notepad.exe") set wsh = nothing %> ASP does only work with the Internet Information Server from MS (as far as I know). If you use another webserver you need another (server side) scripting language (PHP for example) Furthermore you need to set the file-permissions for access through the webserver in the correct way. Search Google for "ASP Tutorial" and you will find a lot. MS