I'm a bit stuck here, so...
I'd need to check if a certain directory exists (on win2000 server), and if it doesn't, it should be created. The name of the directory could be anything, it comes from a variable. How can I do that check? And will I need a batch file to create the folder (passing the folder name as a parameter to it), or can system commands such as md be used with a variable?
(e. g. system( "md" folder_name ) // this doesn't work, I know).
I'm using Visual C++ on win2000.
Any help would be greatly appreciated.