🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

user directory

#7482
From: Jonathan Benedicto
Date: Wed, 02 Feb 2005 18:05
15 lines
1200 bytes
I'm sorry if this is the wrong group to post this in, but my app needs to 
know the currently logged in user's directory.

Eg.

In Win98 : C:\ or C:\My Documents

In WinXP : C:\Documents and Settings\User or C:\Documents and 
Settings\User\My Documents.

How can I retrieve this info ?

-- 
Jonathan
 
Technical Details
Message-ID: <42011661$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4c62f4fa90268d48,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Jonathan Benedicto" <incorrect@no.server>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: user directory
Date: Wed, 2 Feb 2005 13:05:24 -0500
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 69.158.106.201
Message-ID: <42011661$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1107367521 69.158.106.201 (2 Feb 2005 10:05:21 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail