I should call some exe file from the asp page.The name and location where that exe file present in my system is given below.
.exe file is in D:\programs\fabmsgsnd.exe.
In an asp page when i click the some command button for e.x. say submit It should call the exe file and exe file should be executed in an command prompt.
aslo i used the below code to call exe file from my asp page but it does not work.
Dim ToRun_Prog_SCmd, ExecRunCmd
Set ToRun_Prog_SCmd = Server.CreateObject("WScript.Shell")
'ToRun_Prog_SCmd.Run "http://webserver/myfolder/MyEXEProg.EXE /CC /RJ7H1JHHJHAZNXZNN /T1212;"
ExecRunCmd = ToRun_Prog_SCmd.Run ("http://webserver/myfolder/MyEXEProg.EXE /CC /RJ7H1JHHJHAZNXZNN /T1212;", 6, True)
Set ToRun_Prog_SCmd = Nothing
i change above one line showing where my exe file is
ExecRunCmd = ToRun_Prog_SCmd.Run ("http://localhost/trackitaug/start fabmsgsnd.exe;")
but when i change this one to my application it is not calling the exe file.can u help me if u can
here is the site name
his is how I execute it in DOS: