By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,238 Members | 1,657 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,238 IT Pros & Developers. It's quick & easy.

calling an executable with arguments

P: n/a
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!
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
In article <j3Qlb.107467$k74.5121@lakeread05>, me@here.now enlightened
us with...
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!!


Look up Windows Script Host.

Windows / IE only.

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

-------------------------------------------------
~kaeli~
Jesus saves, Allah protects, and Cthulhu
thinks you'd make a nice sandwich.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
-------------------------------------------------
Jul 20 '05 #2

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

var MyObject = new ActiveXObject("MyObject.ID.Versionorwhatislikeagai n");

MyObject.Execute("app.exe");

............Naaahhhhhhhh!

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

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


Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.