How to delete a folder with files inside
<p>I need to delete a folder, that has files inside it..</p>

<p>I need to permanent delete the files, so they wont come to the receycle bin...</p>

<p>I've looked for many ways, such as rmdir, though it didnt recognized "rmdir" even with includes (I tried to include a lot of stuff that I've found on examples)..</p>

<p>Thanks!</p>

<p>Edit:</p>

<p>I'm using windows 7</p>

<p>I've found this :</p>

<pre><code>        system("rmdir D:\\temps /s /q");
</code></pre>

<p>which delete the folder correctly, though I want to use a variable that contains the path..
like :</p>

<pre><code>path = "D:\\temps";
delete(path);
</code></pre>

<p>or something in this style..</p>

<p>Thanks!</p>
