I need to delete a folder, that has files inside it..
I need to permanent delete the files, so they wont come to the receycle bin...
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)..
Thanks!
Edit:
I'm using windows 7
I've found this :
system("rmdir D:\\temps /s /q");
which delete the folder correctly, though I want to use a variable that contains the path.. like :
path = "D:\\temps";
delete(path);
or something in this style..
Thanks!