Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide To Clipper - <b>erase/delete file</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ERASE/DELETE FILE


Syntax:     ERASE/DELETE FILE <filename>.<ext>/(<expC>)

Purpose:    To remove a file from disk.

Argument:   <file> is the name of the file, including extension, to
            be deleted from disk.  The filename may optionally be
            preceded by a drive and/or path.

Usage:      Note that SET DEFAULT and SET PATH do not affect ERASE.  The
            file is deleted from disk only if found in the current DOS
            directory or in the directory explicitly specified as part
            of the filename.

Library:    CLIPPER.LIB

            Warning: Files must be CLOSEd before ERASEing them.


----------------------------------- Example --------------------------------

   ? FILE("Temp.dbf")            && Result: .T.

   ERASE Temp.dbf
   ? FILE("Temp.dbf")            && Result: .F.


See Also: CLOSE USE CURDIR() FILE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson