Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing a parameter to a linked executable

Status
Not open for further replies.

adnanbwp

Programmer
Nov 18, 2003
4
US
Hi,

I have a web page where I have linked to a proprietary executable, NetSetup.exe. Now the thing is I would like to pass it a parameter when some one clicks on this link. Is this even possible?

I have looked every where. There is a tool costing $249 which lets me pass parameters. But I am thinking there must be another way to do this.

Please guide,

Adnan
 
ASPexec is free:

or look into windows script host:

<%
dim wsh
set wsh = createobject(&quot;WScript.Shell&quot;)
response.write wsh.run(&quot;cmd /c C:\WINNT\system32\ping.exe &quot; & _
&quot; > &quot; & server.mappath(&quot;pingresults.txt&quot;))

set wsh = nothing
response.redirect &quot;pingresults.txt&quot;
%>






hth,
Foxbox
ttmug.gif
 
Ok,

I tried ASPExec. I have tried every thing in the documentation, but I can not make the application to show up. Therefore, I dont know if its even running. So that was a failure.

Secondly, I was trying WSH. But that failed too due to numerous errors that showed up. I checked out the link you provided, but thats an Archive and there is not much for information.

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top