Delphi GetCurrentDir 获取当前文件夹


本文整理自网络,侵删。

 //获取当前文件夹 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;

相关阅读 >>

Delphi idhttp上传图给asp完美解决

Delphi接收文件拖放

Delphi2010 的自带的内存泄漏检测

Delphi idhttp超时重定向

Delphi 打造mygetprocaddress函数(Delphi源码)

Delphi xe5 for android 退出提示

Delphi获得系统当前时间日期和格式化时间

Delphi 让程序主窗口不响应“显示桌面”

Delphi 正则表达式校验手机号

Delphi ios 保持设备开机状态

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...

    正在狠努力加载,请稍候...