处理文件 / 基本操作

uses System.IOUtils;

var
  Exists: Boolean;
begin
  Exists := TFile.Exists('file.txt');

  WriteLn('exists is ', Exists);
end.