VC中文FAQ宝库之7:获得各种目录信息
Windows目录
GetWindowsDirectory
Windows下的system目录
GetSystemDirectory
temp目录:
GetTempPath
当前目录
GetCurrentDirectory
请注意前两个函数的第一个参数为目录变量名,后一个为缓冲区后两个相反。
Windows目录
GetWindowsDirectory
Windows下的system目录
GetSystemDirectory
temp目录:
GetTempPath
当前目录
GetCurrentDirectory
请注意前两个函数的第一个参数为目录变量名,后一个为缓冲区后两个相反。