请进!!!!!!!!!!!!!! GetCurrentDir//返回当前目录FileExists//返回文件是否存在 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 FileExists()是判断文件是否存在,GETCURRENTDIR是得到当前所在的目录 procedure TForm1.Button1Click(Sender: TObject);begin if not FileExists(GetCurrentDir + '\' + '1.txt') then ShowMessage('文件 "' + GetCurrentDir + '\' + '1.txt' + '" 不存在');end; 关于打印的问题 有实现过 内网IP与公网IP通过TCP/IP进行收发数据 的朋友吗? 请教:如何直接初始化串口的波特率!!在线等。。 access中的一个数据录入的问题 有没有石家庄的朋友,进来帮个忙好吗? 海天子谢过了! 有用delphi+SQL开发过系统的吗? 避免循环的问题 关于SQL数据库的客户端安装的问题。 散分 坐标转换??? 请问delphi中如何操作DBF数据库(不用BDE) 请问在dbgrid中如何才能得到当前行焦点改变的事件?
GETCURRENTDIR是得到当前所在的目录
begin
if not FileExists(GetCurrentDir + '\' + '1.txt') then
ShowMessage('文件 "' + GetCurrentDir + '\' + '1.txt' + '" 不存在');
end;