how do I add a userprofile variable normally %userprofile%
<p>I need to add a user profile variable in java, apparently %userprofile% does not work. when I try and enter this into the directory towards the bottom of the code it does not accept it. however I can echo my %userprofil% in command line</p>

<p>userprofile+"\Downloads\file.txt");</p>
