On Thu, 12 Feb 2009 at 03:02:58PM +0000, Chris Aitken wrote:
> - Original message -
> Integrating with DOS might be difficult (I ...
> 
> Or use Apache with Mono.
Apache running as a service on a Windows box has some strange 
restrictions not found on a Linux/Unix box.
However executing plain old DOS BAT or Windows CMD files directly 
from the CGI-BIN interfce is easy enough. I wouldn't do it though 
as you have no real security, you are better off with a real 
programming language, I'd use Perl which has good Windows 
bindings, but I assume that Python or Ruby are as good. I can't 
comment on Mono.
We run Perl apps on Windows boxes at work from Apache and the 
Perl apps do Perl things and interact with the Windows subsystem 
directly via the Windows API. It works well - no problems yet!
 
> On 2/12/09, Vic <lug@???> wrote:
> >
> >> They would
> >> enter a 4 digit number in the box (which would ideally be checked that it
> >> was a 4 digit number. E.g. 1234) and then a dos command would be run e.g.
> >> C:\program files\importantapp\importantapp.exe stream 1234 3 start (or
> >> stop depending on which button was pressed)
> >
> > Integrating with DOS might be difficult (I don't know if Aapche runs atop
> > DOS), but running some command-line stuff is easily achievably by way of
> > CGI. It's as simple as adding the +ExecCGI override in your Apache
> > config...
-- 
Adam Trickett
Overton, HANTS, UK
Do not assume the other fellow has intelligence to match yours.
He may have more.
    -- Terry Thomas