I have not run into a problem using the C:\ProgramData\MyApp scenario on the Vista boxes I've encountered.
However, I just looked at the Security of the folder. Users have rights to Create Files and Directories but not Delete existing. My application creates the folder on first run, giving the user full rights to the folder. If I created the folder with the Administrator during the Install, I would be sure to give Users full rights. HTH, Tracy -----Original Message----- From: Whil Hentzen Sent: Saturday, November 22, 2008 8:01 PM I need to write data to various folders under both XP and Vista. (Duh.) We know that data can't go in Program Files\My Stupdendous App\Data any longer; common wisdom says C:\Documents and Settings\All Users\Application Data\My StupidAppData is the place we oughta be. I was under the impression, being Vistaless, that the ALLUSERSPROFILE environment var held the location of C:\Documents and Settings\All Users under Vista, but a beta tester is telling me On XP, ALLUSERSPROFILE=C:\Documents and Settings\All Users On Vista, ALLUSERSPROFILE=C:\ProgramData (a hidden System folder) I can verify that on XP, but not on Vista. Furthermore, they report that on Vista, the C:\ProgramData folder is not writable. Have they munged their box or do I have it wrong? (As an aside, APPDATA returns a user-specific folder, so I don't think that's what I want.) Whil _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.