问题

软件 >> C++ >> UPP
Questions in category: UPP (UPP).

UPP 中获取系统变量的一些函数

Posted by haifeng on 2023-01-14 14:44:53 last update 2023-01-14 14:44:53 | Answers (0) | 收藏


Cout() << "Home directory: " << GetHomeDirectory() <<"\n";
Cout() << "Programs Folder: " << GetProgramsFolder() <<"\n";
Cout() << "Programs Folder(X86): " << GetProgramsFolderX86() <<"\n";
Cout() << "Temp directory: " << GetTempDirectory() <<"\n";

 

更改目录

ChangeCurrentDirectory("D:\\bin"); 

 

References:

U++ forum: Welcome to the forum (ultimatepp.org)