[DUG]Folders and XP and Vista
Sean Cross - CRM
sean.cross at crm.co.nz
Mon Jun 19 16:46:03 NZST 2006
Don't put user data in the application folder. Anything in there is
read-only on any restricted account. The exception to this would be
application data which the user is not expected (or allowed) to update
such as server settings.
Even in XP, there are user restrictions on writing to the program files
folder. This is hidden because most users are set up as admin. If they
are set up as a restricted user, (ie in a corporate setting), writing to
this folder will fail.
Regards
Sean
-----------------------------
Sean Cross
Systems Development
Catalyst Risk Management
PO Box 230
Napier
Phone: 06 834 0362
Mobile: 027 276 6439
Email: sean.cross at crm.co.nz
http://www.crm.co.nz/
Offices in Auckland, Napier, Wellington & Christchurch
Disclaimer:
"The information contained in this document is confidential to the
addressee(s) and may be legally privileged. Any view or opinions
expressed are those of the author and may not be those of CRM. No
guarantee or representation is made that this communication is free of
errors, viruses or interference. If you have received this e-mail
message in error please delete it and notify me. Thank you."
________________________________
From: delphi-bounces at ns3.123.co.nz
[mailto:delphi-bounces at ns3.123.co.nz] On Behalf Of John Bird
Sent: Monday, 19 June 2006 4:10 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: [DUG]Folders and XP and Vista
Where do users put programs and settings and data?
I am wondering what others practices are, thinking forward to be
compatible with Vista. I have heard others write their .ini settings
into the same folder as the application pathname - will this run into
problems in Vista?
I put different types of files in different folders (eg
Programs, Settings, Data, Temp) - but they are under the same parent
folder. I am considering improving where I put these folders..........
I understand Vista introduces some limits on writing by applications to
the "Program Files" folder. So far I put my settings files and programs
elsewhere, but I wondering if Vista also will force programs to be in
the Program Files folder.
(Related - I came across a related example of this in XP system
restore, where a .EXE program I had compiled which was not in the
"Program Files" was rolled back to an earlier version when I did a
system restore).
(Also Related - I remember coming across a Delphi freeware unit
that listed all the Windows folders settings, but I have lost track of
it.....anyone have a recommendation?).
http://www.edbott.com/weblog/?p=1371
June 13, 2006 - 12:52 pm
Windows Vista Tip #4: Move your data folders to a separate drive
<http://www.edbott.com/weblog/?p=1371>
Windows Vista makes a few fundamental changes in the default
folders used to store personal data. For starters, the Documents and
Settings folder is gone, replaced by the Users folder, which is located
in the root of the system drive (usually C:). Each user account has its
own profile folder here, which contains 11 folders, each devoted to a
different type of data.
[my comment - finally!!! Windows has adopted the folder
structure that Unix has used with success and without fundamental
changes since 1970]
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20060619/b789d954/attachment-0001.html
More information about the Delphi
mailing list