I am trying to create a folder inside another newly created folder.
First, I create a folder named 'newvolt' using the _mkdir function:
Next, I try to create a subfolder named 'SG019810002-500' inside the folder 'newvolt' using the _mkdir function once again:
'newvolt' is created successfully, but 'SG019810002-500' is not. MSDN describes the _mkdir as
with dirname as the path for new directory. Here's the link: Can someone please help me figure out how to complete this seemingly simple task? Thanks for any help!
First, I create a folder named 'newvolt' using the _mkdir function:
Code:
_mkdir(newvolt);
Code:
_mkdir("h:\\newvolt\\SG019810002-500");
Code:
int _mkdir( const char *dirname );