Delphi中几种程序自我删除的方法.docxVIP

  • 12
  • 0
  • 约4.02千字
  • 约 5页
  • 2021-11-08 发布于江苏
  • 举报
第一种:(普通批处理方式) procedure DeleteMe; var BatchFile: TextFile; BatchFileName: string; ProcessInfo: TProcessInformation; StartUpInfo: TStartupInfo; begin BatchFileName := ExtractFilePath(ParamStr(0)) + _deleteme.bat; AssignFile(BatchFile, BatchFileName); Rewrite(BatchFileW)r;iteln(BatchFile, :try); Write

文档评论(0)

1亿VIP精品文档

相关文档