🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

CMD or !CMD

#16760
From: DeKayA
Date: Mon, 28 Apr 2003 04:27
10 lines
1054 bytes
I am using DOS (cmd) to accomplish a environmental setting  is this
the best way to effect the system settings

WinExec("cmd.exe /C SUBST K: "C:\\Program files", SW_HIDE);
  
Thanks
DeKayA

                                                      
Technical Details
Message-ID: <3eacad34.22425665@forums.inprise.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,700ffb83e50e0bab,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-27 21:32:51 PST
From: DeKayA@bellsouth.net
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: CMD or !CMD
Date: Mon, 28 Apr 2003 04:27:03 GMT
Message-ID: <3eacad34.22425665@forums.inprise.com>
X-Newsreader: Forte Agent 1.5/32.452
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 208.60.207.173
X-Trace: newsgroups.borland.com 1051503994 208.60.207.173 (27 Apr 2003 21:26:34 -0700)
Lines: 11
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail