Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Newsgroups > Vista security

Question about %APPDATA% folder

Closed Thread
 
Thread Tools Display Modes
Old 03-16-2007   #1 (permalink)
Jayme Pechan
Guest
 
Posts: n/a

Question about %APPDATA% folder

I don't know if it was the right thing to do but in Windows XP, I would
store application settings in the folder contained in the %APPDATA%
environment variable. This was a hidden folder for the user. For some
reason under Vista, the user does not have rights to read and possibly write
to this folder, although it is still there. There is a new AppData folder
that the user does have rights to access but XP does not have this folder.
Someone mentioned %UserProfile%\AppData\Local as the right place but this
doesn't exist on XP so I'm lost as to the proper way to do this.

Does anyone know where to store file based user settings that will work on
both XP and Vista? Thanks.

Jayme


 
Old 03-16-2007   #2 (permalink)
Jesper
Guest
 
Posts: n/a

RE: Question about %APPDATA% folder

> Does anyone know where to store file based user settings that will work on
> both XP and Vista? Thanks.


The layout of the file system has changed completely in Vista. Therefore,
there is no way that will work on both that does not rely on using
environment variables. Presuming you are doing this in code you need to check
the OS Version and take the action appropriate to the version of the OS you
are running on.
 
 
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't see AppData folder Ernie Lane Vista General 4 06-30-2008 09:10 AM
<newbie> question regarding the AppData folder Jeff Vista General 2 02-13-2008 10:39 AM
Where is the APPDATA folder? Mike from Moriches Vista General 3 11-07-2007 10:32 AM
AppData Folder dasaint Vista file management 9 09-21-2007 11:16 PM
AppData folder Ron Vista General 7 08-10-2007 01:26 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49