G
Guest
hi
i trying to open some new folder in my program , i write this function below
, but i dont know how to make the folder "dataFile" to be hidden.
bool CPoliceDBApp::changeDirectory()
{
char buffer[MAXSIZE];
if(!_getcwd(buffer,MAXSIZE)) //get now active directory
return false;
CString path=buffer;
path+="\\dataFile"; //declare new directory path
_mkdir(path); //build new folder in path
if(_chdir(path)) //change active directory
return false;
return true;
}
i trying to open some new folder in my program , i write this function below
, but i dont know how to make the folder "dataFile" to be hidden.
bool CPoliceDBApp::changeDirectory()
{
char buffer[MAXSIZE];
if(!_getcwd(buffer,MAXSIZE)) //get now active directory
return false;
CString path=buffer;
path+="\\dataFile"; //declare new directory path
_mkdir(path); //build new folder in path
if(_chdir(path)) //change active directory
return false;
return true;
}