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");
时间: 2024-10-18 06:39:34