delete a folder in java
<p>The folder I need to delete is one that is created from my program. The directory is not the same on every pc so the folder code I am using is </p>

<pre><code>userprofile+"\\Downloads\\Software_Tokens"
</code></pre>

<p>There will be files in, so I guess i need to recursively delete it. I looked at some samples for that here but it never accepts my path. The path works fine in the code as an environmental variable, because i added code for it </p>

<p><code>static String userprofile = System.getenv("USERPROFILE");</code> </p>

<p>so can someone just show me the code with my path plugged please?</p>
