🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Folder etiquette in NT/W2k/XP

#14620
From: d.f.s.
Date: Tue, 05 Aug 2003 03:15
18 lines
1713 bytes
In a nutshell, here be my problem.

My application installs, by default, to Program Files\MyApp. This
needs admin privileges under NT/W2k/XP. Ok. That's not a problem. The
trouble comes when a non-admin user tries to save any work, which
defaults to,
Program Files\MyApp\Studies. That folder is read only. Again I can get
around this by having the user browse for a save folder. I should be
checking the windows version and, if applicable, defaulting to:
Application Data\USERNAME\MyApp\Studies. Correct?

What this is really pointing out is the fact that I need to 'get
smart' on the etiquette of where things go under these multi user
versions of windows. Can anyone point me at some resources on where
the heck to put things please?

Thx
Drew
Technical Details
Message-ID: <3f2f201a@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!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,12fd6b6e636ddf3d,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-04 20:16:29 PST
From: "d.f.s." <dfs@none.none>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Folder etiquette in NT/W2k/XP
Date: Mon, 4 Aug 2003 20:15:48 -0700
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 209.121.85.143
Message-ID: <3f2f201a@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1060053018 209.121.85.143 (4 Aug 2003 20:10:18 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail