Article View: borland.public.cppbuilder.nativeapi
Article #16444Resolving Environment Variables
From: Bruce Henderson
Date: Tue, 13 May 2003 14:36
Date: Tue, 13 May 2003 14:36
5 lines
1087 bytes
1087 bytes
What is the best way to resolve variables like %SystemRoot%, %HomeDrive%, %Temp%, %UserName%, etc? Is there an API to do this? Do I have to pull them out of the Registry? What about different version of Windows?
Technical Details
Message-ID:
<3ec1031f@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,e59ebca9d300d0e9,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-13 07:46:18 PST From: "Bruce Henderson" <Bruce@CreativeControlSystems.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Resolving Environment Variables Date: Tue, 13 May 2003 09:36:51 -0500 Lines: 7 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 216.202.195.25 Message-ID: <3ec1031f@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1052836639 216.202.195.25 (13 May 2003 07:37:19 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail