calling an executable with arguments

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mike Brown

    calling an executable with arguments

    Hi,

    Is there anyway to call an executable on a local disk (W2K) with arguments
    from javascript? Or from any other language for that matter?

    We are trying to create a simple 'portal' page to a group of our c++
    applications via a webbrowser. To open the applications however you must
    pass them command line options.

    Thanks for any help anyone can provide!!

    Cheers!


  • kaeli

    #2
    Re: calling an executable with arguments

    In article <j3Qlb.107467$k 74.5121@lakerea d05>, me@here.now enlightened
    us with...[color=blue]
    > Hi,
    >
    > Is there anyway to call an executable on a local disk (W2K) with arguments
    > from javascript? Or from any other language for that matter?
    >
    > We are trying to create a simple 'portal' page to a group of our c++
    > applications via a webbrowser. To open the applications however you must
    > pass them command line options.
    >
    > Thanks for any help anyone can provide!!
    >[/color]

    Look up Windows Script Host.

    Windows / IE only.

    MSDN: http://msdn.microsoft.com/library/default.asp?
    url=/nhp/default.asp?con tentid=28001169

    -------------------------------------------------
    ~kaeli~
    Jesus saves, Allah protects, and Cthulhu
    thinks you'd make a nice sandwich.


    -------------------------------------------------

    Comment

    • Fox

      #3
      Re: calling an executable with arguments

      Write a COM object in C++ with ATL or in Visual Basic. Then do:

      var MyObject = new ActiveXObject(" MyObject.ID.Ver sionorwhatislik eagain");

      MyObject.Execut e("app.exe");

      ............Naa ahhhhhhhh!

      Check out: http://www.midrangeserver.com/mpo/mp...2-story01.html

      and let everyone in your company bookmark: http://www.amabuy.com.






      Comment

      Working...