run a .exe file on server

Results 1 to 3 of 3

Thread: run a .exe file on server

  1. #1
    Join Date
    Dec 1969

    Default run a .exe file on server

    Hi,<BR><BR>Does anyone know if there is a way to run .exe files through ASP? I don&#039t need to pass or read any parameters. I just have a .exe file sitting in the same folder as my asp pages, and I&#039d like to prompt it to run in VBScript.<BR><BR>Thanks for the help

  2. #2
    geeoff Guest

    Default RE: run a .exe file on server

    yep,<BR><BR>You can use the Windows Scripting Host....i.e.<BR><BR>Set objWSH = Server.CreateObject("WScript.Shell")<BR>objRTC = objWSH.Run (strACLCommand , 0, True)<BR>Set objWSH = Nothing<BR><BR>Where strACLCommand = something like a batch file (it has the path to the executable)<BR><BR>OR - a third party component called:<BR><BR>ASP.Execute, same idea, you can get it from:<BR><BR><BR><BR>Let me know if you have other questions,<BR><BR>-geeoff

  3. #3
    Join Date
    Dec 1969

    Default it worked - thanks

    thanks a lot, geeoff. The component from the website you told me about solved the problem.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts