I've been searching for a while, but it seems that I can't find an easy way to get the current user profile folder. I've tried "%userprofile%" environment variable, but it didn't worked (or I'm doing something wrong).
How can I do it? I want to add the value to an string variable.
I actually tried something like:
Dim Userfolder As String = %UserProfile%
I tried with quote marks too, but none seems to do the trick.
What I'm missing?