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

     DELETE FILE | ERASE <xcFile>

 Arguments

     <xcFile> is the name of the file to be deleted from disk and can be
     specified either as a literal filename or as a character expression
     enclosed in parentheses.  You must specify the filename, including the
     extension, and it may optionally be preceded by a drive and/or path
     specification.

 Description

     DELETE FILE, a synonym for ERASE, is a file command that removes the
     specified file from disk.  SET DEFAULT and SET PATH do not affect DELETE
     FILE.  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.

     Warning!  Files must be CLOSEd before deleting them.

 Examples

     .  This example removes a specified file from disk then tests to
        see if the file was in fact removed:

        ? FILE("Temp.dbf")               // Result: .T.
        DELETE FILE Temp.dbf
        ? FILE("Temp.dbf")               // Result: .F.

 Files:  Library is CLIPPER.LIB.

See Also: CLOSE CURDIR() FILE() USE

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