摘要:
//判断文件是否存在 FileExists//判断文件夹是否存在 DirectoryExists//删除文件 DeleteFile; Windows.DeleteFile//删除文件夹 RemoveDir; RemoveDirectory//获取当前文件夹 GetCurrentDir//设置当前文件夹 SetCurrentDir; ChDir; SetCurrentDirectory//获取指定驱动器的当前路径名 GetDir//文件改名 RenameFile//建立文件夹 CreateDir; CreateDirectory; ForceDirectories//删除空文件夹 RemoveD 阅读全文
摘要:
unit Unit1;interfaceuses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons, Vcl.StdCtrls;type TForm1 = class(TForm) SpeedButton1: TSpeedButton; Edit1: TEdit; Edit2: TEdit; procedure SpeedB... 阅读全文