SetCurrentDirectory切换当前进程的当前工作目录。
目录
切换当前进程的当前工作目录。
VC函数原型
BOOL WINAPI SetCurrentDirectory( __in LPCTSTR lpPathName);
参数说明
lpPathName [in]
The path to the new current directory. This parameter may specify a relative path or a full path. In either case, the full path of the specified directory is calculated and stored as the current directory. For more information, see File Names, Paths, and Namespaces.