🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5639

Execute system command w/o DOS window?

#5639
From: TerryC
Date: Tue, 26 Jul 2005 16:10
9 lines
1115 bytes
I seem to remember a Win32 API function for executing a command
without opening a Command Prompt window to do it.  Could somebody
help me out?

system("<command>") works, but opens the Command Prompt window.

Thanks,
Terry
Technical Details
Message-ID: <42e6608a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nx01.iad01.newshosting.com!newshosting.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f51638e82cb7b57,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "TerryC" <terryc.DONT_SPAM@sweetwaterhsa.NOSPAM.com>
Sender: "TerryC" <terryc.DONT_SPAM@sweetwaterhsa.NOSPAM.com>
Reply-To: "TerryC" <terryc.DONT_SPAM@sweetwaterhsa.NOSPAM.com>
Subject: Execute system command w/o DOS window?
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 63.250.179.198     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <42e6608a$1@newsgroups.borland.com>
Date: 26 Jul 2005 09:10:50 -0700
X-Trace: newsgroups.borland.com 1122394250 207.105.83.66 (26 Jul 2005 09:10:50 -0700)
Lines: 9
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nx01.iad01.newshosting.com!newshosting.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail