|
: HELP: Running DOS Commands from a Webpage : Press2Esc July 19, 2007, 10:17:59 AM HELP: Running DOS Commands from a Webpage
Is anyone aware of any methods to run (execute) simple DOS commands from a webpage? For example, if you click on this Google.com (http://Google.com) link, the “background” code will open up a browser page of Google's homepage... I would like to be able to do the same with basic DOS commands. I would prefer not to have to rely on downloads, execs, multi-line batch files, complicated wscripts, etc. For example, I would like to execute the "ncpa.cpl" command (e.g., "start ncpa.cpl") by just clicking on the html "link". I am sure there is a relatively simple solution, but I am beginning to feel like I am wondering 'round in a forest, looking for bread crumbs... :glupek2: Any takers? Any thoughts? Any aspirin? Thanks in advance. Press2Esc : Re: HELP: Running DOS Commands from a Webpage : Squeezebox July 19, 2007, 10:57:51 AM I wouldn't have thought it can be done simply. Browsers communicate using HTTP, HTML etc. DOS is another language.
It would require programming to create a utility or something. : Re: HELP: Running DOS Commands from a Webpage : Press2Esc July 19, 2007, 02:52:21 PM You could be right - "simply" being the key word... If need be, I may need to look at the next stp up - "simple" and robust coding. I have run multiple commands via a single command line before, but it has been awhile..
P2E I wouldn't have thought it can be done simply. Browsers communicate using HTTP, HTML etc. DOS is another language. It would require programming to create a utility or something. |