Thanks!

The one I used seems to work fine. I was able to enhance it even more by using the "_chr()" function, so I can create the name of the folder in-game...

Code:
CreateDirectory(_chr(str_directory_name),0.000);



Previously, I was creating the folder right in the game folder, which is fine, until people start installing it on newer Windows machines. Then it seems to cause trouble.