Two approaches possible. There are DeleteFile and DeleteDirectory
functions available in FPC/Lazarus. On the other hand you can also use
TProcess to run any external command from FPC. Please check the Lazarus
wiki which has an excelent article on how to use it.

Darius


> Hi,
>
> I need to clean up the /tmp folder and erase various files and directories
> that my App has created there.
>
> Using Linux, can I call bash from within my App to 'rmdir'?
>
> --------------------------------------------------------------------
> mail2web - Check your email from the web at
> http://mail2web.com/ .
>
>
> _________________________________________________________________
>      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

Reply via email to