Destroy a file Physicly

Posted by LegacyUser on 02-Mar-2006 09:35

Hi Evryone

How i can do in l4g code if i want to destroy a file ( C:\test.txt for exemple) physiclY.

All Replies

Posted by LegacyUser on 02-Mar-2006 10:13

Hi Oud,

The following statement deletes the file with name filename:

OS-DELETE

...

For instance:

OS-DELETE VALUE("c:\test.txt").

or

OS-DELETE c:\test.txt.

Posted by LegacyUser on 03-Mar-2006 09:01

Many thanks Georges,

I used finally an Os-command with a dos command del . Any way thank you for your help.

This thread is closed