I looked all over the internet and there doesn\'t seem to be a decent solution that I could find. I want to be able to programmatically in C++ obtain the path \"%ALLUSERSPRO
you can also read the value from the registry
path = HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
key = Common AppData