如何用程序判断文件夹里的文件是否存在以及如何删除文件以及如何建立个文件夹 (100分)

  • 主题发起人 thomashukaidi
  • 开始时间
T

thomashukaidi

Unregistered / Unconfirmed
GUEST, unregistred user!
如何用程序判断文件夹里的文件是否存在以及如何删除文件以及如何建立个文件夹









如何用ole自动化显示文件夹里的word文档
如何用ole自动化显示文件夹里的word文档
请教:可否用程序在oleOLE自动化的word文档中写入文字在form的ole里显示
如何把stringgrid里的东西导到ole的word里
 
如何用程序判断文件夹里的文件是否存在:
if fileexists(path+'/'+file) then
showmessage('存在!')
else
showmessage('不存在!');

如何删除文件:
deletefile(path+'/'+file);

如何建立个文件夹:
{$I-}
mkdir(path);
if ioresult<>0 then
showmessage('建立文件夹出错!')
 
接受答案了.
 
顶部