On UAC-aware systems, the AppData looks like this:

C:\Users\arun.shah\AppData\Roaming

Your code would retrieve "C:\Users\arun.shah\AppData"

In other words, your idea might work on XP but not on modern operating systems.

Hope this helps.

Friedrich