crystalkiwibruce
Programmer
Microsoft have been discouraging us from saving data in the Program Files folder where the application is installed. On Windows 7 and Vista, that folder is protected and we are told to use c:\ProgramData\CompanyName\AppName for files used by all users on the machine.
Vista and Windows 7 also have a Users\Public Folder. Can I use that?
On XP, Server 2003, and older, there is no ProgramData or Users folder. I fell into a trap recently where Server 2003 has some Vista rules, but no place to put my data, while on XP my application happily uses the program folder for it's config files.
Where should I save them on XP and Server 2003? Is there a general System call to find a public folder on all vesions of windows?
Despite Microsoft marketing efforts there are plenty of people running these older versions of Windows, and I'd like my applications to run on them. What should I do? What versions should I use what folders to save my files.
Vista and Windows 7 also have a Users\Public Folder. Can I use that?
On XP, Server 2003, and older, there is no ProgramData or Users folder. I fell into a trap recently where Server 2003 has some Vista rules, but no place to put my data, while on XP my application happily uses the program folder for it's config files.
Where should I save them on XP and Server 2003? Is there a general System call to find a public folder on all vesions of windows?
Despite Microsoft marketing efforts there are plenty of people running these older versions of Windows, and I'd like my applications to run on them. What should I do? What versions should I use what folders to save my files.