HELP: Running DOS Commands from a Webpage
My PC Hell Forum
November 23, 2008, 05:44:35 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Moving to New Location Soon! Watch out for notification. 14th Dec 2007.
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: HELP: Running DOS Commands from a Webpage  (Read 2212 times)
Press2Esc
New FixmyXP Member
*
Posts: 4


View Profile
« on: 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 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
Logged
Squeezebox
Administrator
******
Posts: 2756



View Profile
« Reply #1 on: 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.
Logged

Press2Esc
New FixmyXP Member
*
Posts: 4


View Profile
« Reply #2 on: 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!