Path: 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 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.