I have an application that needs to read a file path from app.config file and the path has to contain username, based on the logged in user.
For example the path is C:\Documents and Settings\JOHNDOE\My Documents\
is there a way to do something like this:
C:\Documents and Settings\%userprofile%\My Documents\
to make the path more dynamic?