How to use environmental variables such as %USERPROFILE% ?
I want something like this:
DirectoryInfo wallpaper = new DirectoryInfo("%USERPROFILE%\\My Documents\\My Pictures");
that does not work. please help.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit MishraPosted Jun 9, 2004, 7:49 PM