Article View: comp.windows.ms.programmer
Article #2364WinExec of COMMAND.COM SW_SHOWMAXIMIZED
From: Kevin P. Kleinfelter
Date: Mon, 29 Apr 1991 14:02
Date: Mon, 29 Apr 1991 14:02
16 lines
1016 bytes
1016 bytes
I'm trying to do the following:
WinExec ("C:\\command.com /c dir", SW_SHOWMAXIMIZED);
(Actually, I'm trying something more convoluted, but similar.)
The problem is that I get a DOS COMMAND icon, but it is NOT maximized.
Furthermore, I am running in standard mode, so my DOS command is not
executed until I click on the ICON.
How can I get WinExec to run a command.com session in the foreground
in standard mode?
--
Kevin Kleinfelter @ Dun and Bradstreet Software, Inc (404) 239-2347
...gatech!nanovx!msa3b!kevin
Warning: There seem to be multiple 'msa3b' nodes on Usenet, and it is
nanoVX, not nanovAx.
Technical Details
Message-ID:
<1620@msa3b.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!emory!wa4mei!nanovx!msa3b!kevinShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!emory!wa4mei!nanovx!msa3b!kevin From: kevin@msa3b.UUCP (Kevin P. Kleinfelter) Newsgroups: comp.windows.ms.programmer Subject: WinExec of COMMAND.COM SW_SHOWMAXIMIZED Message-ID: <1620@msa3b.UUCP> Date: 29 Apr 91 14:02:22 GMT Organization: Dun and Bradstreet Software, Inc., Atlanta, GA Lines: 16