I need a folder guarantees the logged in user has write access to , currently I use roaming profile folder but the client doesn’t want me to use that folder anymore, is there any other folder I can use or is there a list of folders I can chose from?
note: ideally I dont want to use the %temp%
Thanks in advance.
You should use SHGetFolderPath with
CSIDL_LOCAL_APPDATAif your app needs to run on pre-Vista systems, and SHGetKnownFolderLocation withFOLDERID_LocalAppDataif you’re running only on Vista and later.In either case, your application should create a folder under the returned location, and store your user-specific information in that folder.