Whil Hentzen wrote:
> 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


I know about the Program Files thingie, but is it not a good idea to
write to a folder off the root, e.g., c:\MyAppData?  That's what we did
at Sylvan and it works great on Vista.





_______________________________________________
Post Messages to: [email protected]
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.

Reply via email to