标签:and document ring project function func current message ==
//获取当前文件夹 GetCurrentDir
var
dir: string;
begin
dir := GetCurrentDir;
ShowMessage(dir); //C:\Documents and Settings\wy\My Documents\RAD Studio\Projects
end;
=============
function GetCurrentDir: string;
begin
GetDir(0, Result);
end;
标签:and document ring project function func current message ==
原文地址:https://www.cnblogs.com/jijm123/p/10092256.html