> Thanks for the response. I am running my website local (localhost on
> the 'sandbox' machine)
That's what I thought...
> Can I execute a dos app on the web server from an asp.net website...
Yes.
...so that an individual can view/use it from their client machine.
No.
> I would think there might be something inherently prohibited about this
> from a security standpoint but maybe that is why I need to jump through
> all
> of these permission hoops.
It's nothing to do with security - it's simply that ASP.NET is running on
the server, and that's where any processes which ASP.NET initiates will
run...
> BTW, I log on as sys admin to the web server that is running the live site
> in
> question and try to execute this scenario to no avail.
That won't make any difference.
> This server is an internal server not accessible outside of the office.
Irrelevant...
What does this DOS app do? Why does someone need to watch it run...?

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
Juan T. Llibre - 13 Sep 2007 18:36 GMT
re:
!> ...so that an individual can view/use it from their client machine.
!> No.
The standard output (stdout) could be captured and displayed, couldn't it ?
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
>> Thanks for the response. I am running my website local (localhost on
>> the 'sandbox' machine)
[quoted text clipped - 26 lines]
>
> What does this DOS app do? Why does someone need to watch it run...?
Mark Rae [MVP] - 13 Sep 2007 18:54 GMT
> re:
> !> ...so that an individual can view/use it from their client machine.
[quoted text clipped - 3 lines]
> The standard output (stdout) could be captured and displayed, couldn't it
> ?
Oh sure, but I got the impression that the OP needs to have user interaction
with the DOS app...
Obviously if that's not the case, then this will present no problem at
all...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
Juan T. Llibre - 13 Sep 2007 19:01 GMT
re:
!> Oh sure, but I got the impression that the OP
!> needs to have user interaction with the DOS app...
That won't happen, as you well know...
;-)
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
>> re:
>> !> ...so that an individual can view/use it from their client machine.
[quoted text clipped - 6 lines]
>
> Obviously if that's not the case, then this will present no problem at all...
wmotter - 13 Sep 2007 18:55 GMT
> > Thanks for the response. I am running my website local (localhost on
> > the 'sandbox' machine)
[quoted text clipped - 33 lines]
> Mark Rae
> ASP.NET MVPhttp://www.markrae.net
It is not so much they have to watch it run. It is the old norton
commander application that our Data Processing department has used for
over a decade and the decision was that there was no need to upgrade
since it does everything the DP folks need and there are several
legacy apps integrated with it. The idea is the DP folks select a
work order when it comes time in the process flow for them them to
take action. Once the work order is selected they can then bring up
NC to get a list of files that are part of the work order and go to
town. This was working before with HTML only web site. Now that I
have had this conversation I think I made a stupid mistake. The DOS
app needs to be local on each machine that is going to use it (not a
problem since it is an interanl app). If so, humbled again. But the
question remains can a web app start a local copy of a DOS app
with .net? Am I off base on this?
Mark thanks for the response and especially the time. I did not have
anyone here I could bounce this off of and make me think in other
directions. Got tunnel vision.
Mark Rae [MVP] - 13 Sep 2007 19:10 GMT
> The DOS app needs to be local on each machine that is going to use it
> (not a problem since it is an interanl app).
Ah...
> But the question remains can a web app start a local copy of a DOS app
> with .net?
Absolutely not natively, for fairly obvious security reasons - "format c:"
is a useful utility, but you wouldn't want a website to be able to execute
it on client machines... :-)
Your only hope with this is to write an ActiveX control (or Java applet if
you're not using IE) which will kick the DOS app off, but you'll need to
ramp down your browser security for this...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
Mark Rae [MVP] - 13 Sep 2007 19:25 GMT
> Your only hope with this is to write an ActiveX control (or Java applet if
> you're not using IE) which will kick the DOS app off, but you'll need to
> ramp down your browser security for this...
Or you might be able to use the WSH (Windows Scripting Host) Shell object to
launch it:
http://www.pcsupportadvisor.com/Windows_scripting_host_page2.htm

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net