For Programmers: Free Programming Magazines  


Home > Archive > Delphi > March 2004 > Launch a DOS program from within a Console-App?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Launch a DOS program from within a Console-App?
.mitro

2004-03-27, 12:21 am

Well, as in subject: How do I launch a DOS-program (i.e. shutdown.exe) from
within my Delphi-Console-Application?

Thanks in advance

Michael


J French

2004-03-27, 12:21 am

On Fri, 30 Jan 2004 15:53:18 +0100, ".mitro" <tro@adv.magwien.gv.at>
wrote:

>Well, as in subject: How do I launch a DOS-program (i.e. shutdown.exe) from
>within my Delphi-Console-Application?


Like you do a Win App ???
Nico de Jong

2004-03-27, 12:21 am

".mitro" <tro@adv.magwien.gv.at> skrev i en meddelelse
news:1075474402.376242@proxy.dienste.wien.at...
> Well, as in subject: How do I launch a DOS-program (i.e. shutdown.exe)

from
> within my Delphi-Console-Application?


I have a bit of Delphi 4 source, that does just what you describe, i.e.
starting a DOS program.
However, the program doesnot run on XP. Is XP a requirement ?

Nico


Maarten Wiltink

2004-03-27, 12:21 am

".mitro" <tro@adv.magwien.gv.at> wrote in message
news:1075474402.376242@proxy.dienste.wien.at...

> Well, as in subject: How do I launch a DOS-program (i.e. shutdown.exe)
> from within my Delphi-Console-Application?


That's question 1 (ONE) in the miniFAQ. It's answered there, too.

Groetjes,
Maarten Wiltink


Dr John Stockton

2004-03-27, 12:21 am

JRS: In article <401abfaf$0$326$e4fe514c@news.xs4all.nl>, seen in
news:alt.comp.lang.borland-delphi, Maarten Wiltink
<maarten@kittensandcats.net> posted at Fri, 30 Jan 2004 21:33:51 :-
>".mitro" <tro@adv.magwien.gv.at> wrote in message
>news:1075474402.376242@proxy.dienste.wien.at...
>
>
>That's question 1 (ONE) in the miniFAQ. It's answered there, too.


Your answer is posted to two groups that do nor receive the mini-FAQ,
and not to the group that "owns" the mini-FAQ. OP see below.

--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Delphi 3 Turnpike 4 ©
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/&c., FAQqy topics & links;
<URL:http://www.bancoems.com/CompLangPas...isc-MiniFAQ.htm> clpdmFAQ;
<URL:http://www.borland.com/newsgroups/guide.html> news:borland.* Guidelines
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com