Change Appdata (Personal Profile) Location in Windows 7
Appdata registry key controls the location of application data folder. In Windows XP/2003, the default location of application folder is at C:\Documents and Settings\Username\Application Data. In Windows 7, it is located at C:\Users\Username\AppData\Roaming. One can change this default location of AppData by editing the registry key appdata which can be located under the node HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders. This registry key is same for XP/Vista and Windows 7.
Appdata is of type string(REG_SZ) and stores the path of the application folder.