There is a delefile and deletedirectory procedure to do that. IIRC SysUtils
and FileUtils.
Darius
----- Original Message -----
From: "Dave Coventry" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, January 24, 2007 6:40 AM
Subject: [lazarus] Manipulating files, directories on the HD
Hi,
Can anyone suggest a good cross platform way of deleting files and
directories from the File system in both windows and linux?
I thought using:
SysUtils.ExecuteProcess('mkdir',TempPath);
might do the trick, but it fails. (Requires the full path of the command?)
Many thanks
--
Dave Coventry
Tel: +27(0)31 3092301
Fax: +27(0)31 3092301
Cell: +27(0)82 3685983
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives