<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
You should try to use the API calls I suppose, there's API calls that
return the user profile folder, temp folder, etc.. I assume that in
windows Vista those API calls will work exactly the same - they'd have
to really for legacy apps to use the proper folders. What happens if a
user runs Windows XP btw? and then they install the Vista upgrade? will
it rename the Documents and Settings folder to Users or keep it the
same? that's why it's best to determine default paths from API calls -
let the OS handle it.<br>
<br>
Windows Vista will also drop the unnecessary word "My" in front of
common folders, eg just "Computer", "Documents", "Pictures"<br>
<br>
Heh, I remember NT 4 used C:\WINNT\PROFILES as I recall, then they
renamed it to Documents and Settings - now they rename it to something
simple again (but better), I definately like the new naming scheme tho
;-)<br>
<br>
John Bird wrote:
<blockquote cite="mid000001c69356$485e54d0$7001a8c0@JohnSony"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<title>Message</title>
<meta content="MSHTML 6.00.5346.5" name="GENERATOR">
<!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="country-region"></o:SmartTagType><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<style>@font-face {
        font-family: SimSun;
}
@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: @SimSun;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
H3 {
        FONT-WEIGHT: bold; FONT-SIZE: 13.5pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: blue; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
CODE {
        FONT-FAMILY: "Courier New"
}
SPAN.EmailStyle20 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
OL {
        MARGIN-BOTTOM: 0cm
}
UL {
        MARGIN-BOTTOM: 0cm
}
</style>
<div><font color="#0000ff" face="Arial" size="2"><span
class="019054903-19062006">Where do users put programs and settings
and data?</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="019054903-19062006"></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="019054903-19062006">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?</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="019054903-19062006"></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="019054903-19062006"><span class="019054903-19062006">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.........</span>. 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. </span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="019054903-19062006"></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="019054903-19062006">(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).</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="019054903-19062006"></span></font><font color="#0000ff"
face="Arial" size="2"><span class="019054903-19062006"></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="019054903-19062006">(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?).</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="019054903-19062006"></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="019054903-19062006"></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="019054903-19062006"></span></font> </div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="019054903-19062006"><a
href="http://www.edbott.com/weblog/?p=1371">http://www.edbott.com/weblog/?p=1371</a></span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="019054903-19062006">
<h2 class="postdate">June 13, 2006 - 12:52 pm</h2>
<h2 class="posttitle" id="post-1371"><a
title="Permanent Link: Windows Vista Tip #4: Move your data folders to a separate drive"
href="http://www.edbott.com/weblog/?p=1371" rel="bookmark">Windows
Vista Tip #4: Move your data folders to a separate drive</a></h2>
<div class="entry">
<p>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.</p>
</div>
</span></font></div>
<div><font color="#0000ff" face="Arial" size="2"><span
class="019054903-19062006">[my comment - finally!!! Windows has
adopted the folder structure that Unix has used with success and
without fundamental changes since 1970]</span></font></div>
<div> </div>
<div class="Section1">
<p class="MsoAutoSig" align="left">John<span
class="019054903-19062006"><font color="#0000ff" face="Arial" size="2"> </font></span></p>
<p class="MsoAutoSig" align="left"><span class="019054903-19062006"> </span></p>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Delphi mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</a>
<a class="moz-txt-link-freetext" href="http://ns3.123.co.nz/mailman/listinfo/delphi">http://ns3.123.co.nz/mailman/listinfo/delphi</a>
</pre>
</blockquote>
</body>
</html>