Possible Duplicate:
C# getting the path of %AppData%
I am trying to use StreamReader
to open up a path in the form of %appdata%/folder/file.txt
. All my attempts have ended up in a file not found exception. Is there a way I can open up this type of path or otherwise determine the actual location that it points to?