PathFileExists
Determines whether a path to a file system object such as a file or directory is valid.
BOOL PathFileExists(
LPCTSTR pszPath
);
Determines whether a path to a file system object such as a file or directory is valid.
BOOL PathFileExists(
LPCTSTR pszPath
);
检查目录是否存在的一个函数
#include <shlwapi.h>
#pragma comment(lib,"Shlwapi.lib")
或者
本文介绍了PathFileExists函数,该函数用于验证文件或目录路径的有效性。通过包含shlwapi.h头文件并链接Shlwapi.lib库,可以使用此函数来检查指定路径是否存在。

8090

被折叠的 条评论
为什么被折叠?



