请问删除硬盘文件的API函数是什么?急!

ansiliyou 2002-06-11 07:36:16
请问删除硬盘文件的API函数是什么?急!!!!!!!!!!
...全文
43 19 打赏 收藏 转发到动态 举报
写回复
用AI写文章
19 条回复
切换为时间正序
请发表友善的回复…
发表回复
stanely 2002-06-11
  • 打赏
  • 举报
回复
copyfile
deletefile都可以
daehappy 2002-06-11
  • 打赏
  • 举报
回复
DeleteFile(FilePath)
qiandeng 2002-06-11
  • 打赏
  • 举报
回复
deletefile(文件名)
就算文件不存在,也不会出事
uwslxcs2 2002-06-11
  • 打赏
  • 举报
回复
很急吗?别那么急呀,网络上会有完美的答案的!
你可以到www.delphi32.com上去看看!
smhpnuaa 2002-06-11
  • 打赏
  • 举报
回复
deletefile
hch_d 2002-06-11
  • 打赏
  • 举报
回复
deletefile('path\file.exe');
loveandhate 2002-06-11
  • 打赏
  • 举报
回复
你要做黑客程序啊!

var str :string;
begin
str:='你要删除的文件的完整路径和名字';
deletefile(str);
if fileexists(str) then
application.messagebox('删除文件不成功','提示信息',mb_ok);
end;
halo_hell 2002-06-11
  • 打赏
  • 举报
回复
deletefile('文件路径');
没事删除文件干嘛?!
bobit 2002-06-11
  • 打赏
  • 举报
回复
来迟了!!!!!!!!!!!!
Billy_Chen28 2002-06-11
  • 打赏
  • 举报
回复
DeleteFile
hazardhwang 2002-06-11
  • 打赏
  • 举报
回复
SHFileOperation
yfsoft518 2002-06-11
  • 打赏
  • 举报
回复
deletefile('path\file.exe');
AIHUA 2002-06-11
  • 打赏
  • 举报
回复
DeleteFile
sword1028 2002-06-11
  • 打赏
  • 举报
回复
对不起写错了 deletefile('c:\aa.exe')
hellotao 2002-06-11
  • 打赏
  • 举报
回复
if exists(filename) then DeleteFile(fileName)
netlib 2002-06-11
  • 打赏
  • 举报
回复
DeleteFolder删除目录
智商无下限 2002-06-11
  • 打赏
  • 举报
回复
太坏了!呵呵...
sword1028 2002-06-11
  • 打赏
  • 举报
回复
delfile('c:\a.exe')
netlib 2002-06-11
  • 打赏
  • 举报
回复
DeleteFile

1,184

社区成员

发帖
与我相关
我的任务
社区描述
Delphi Windows SDK/API
社区管理员
  • Windows SDK/API社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧