【文件属性】:
文件名称:获取windows System目录路径-Delphi示例.rar
文件大小:5KB
文件格式:RAR
更新时间:2022-07-30 12:06:40
Delphi源码-系统相关
Delphi获取windows System目录路径,这个比较简单,觉得没啥用,只是可以练习一下GetSystemDirectory函数如何使用,下面分享出核心的代码,完整代码需要您下载哦:
begin
GetMem(SysDir,255);
GetSystemDirectory(SysDir,255);
Edit1.Text := SysDir;
end;