RemoveDirectoryA(
__in LPCSTR lpPathName
);

PathFileExistsA(LPCSTR pszPath);

CreateDirectoryA(strDirectoryName.c_str(), NULL);

example:

 

//wPathMkdir("D:\\yecyTest");
int result = wPathFileExist("D:\\yecyTest");
if (result == 0)
{
printf("yecy::fail creat directory");
}

::RemoveDirectoryA("D:\\yecyTest");

posted on 2015-03-12 10:31  叶城宇  阅读(367)  评论(0编辑  收藏  举报