Title: Message
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.

Windows Vista will also drop the unnecessary word "My" in front of common folders, eg just "Computer", "Documents", "Pictures"

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 ;-)

John Bird wrote:
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?).
 
 
 

Windows Vista Tip #4: Move your data folders to a separate drive

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 

 


_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi


_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to