I know I can read environment variables like this:
Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
However, it would be r
I'm not sure if there is a good way to do this but instead of trying to do environment expansion to get the path why not use the Path.Combine API instead?
Path.Combine
Path.Combine( Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "Foo");