Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
How to use environmental variables such as %USERPROFILE% ?
nigor
20y
4.3k
1
Reply
I want something like this: DirectoryInfo wallpaper = new DirectoryInfo("%USERPROFILE%\\My Documents\\My Pictures"); that does not work. please help.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
How to modify share permission using C#?
Collection as a Trace/Debug Listener?