[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   XPdel()
   Delete More files at once
------------------------------------------------------------------------------

   Function:   XPdel()

               XPdel() could be described as the Clipper equivalent of the
               DOS del Command. It allows the (fast) deletion of quite
               some files at once, by using FCB calls. It can also be
               used on networks (I noted). In contrast to Clipper's
               ferase(), XPdel() requires the files to be in the current
               directory, but XPdel() can delete File Masks.

               be aware, for instance, that:

               XPdel('*.*')

               removes all the files from your current directory.

   Syntax:     XPdel(<cMask>) --> lCode

   Arguments:  <cMask> is the file (or file Mask) to delete.

   Returns:    .t. when file(s) deleted, .f. otherwise.
               Note that you may just ignore the return codes.
               Typically, one would delete temporary, or all index
               files with this command.

   Usage:      XPdel('*.NTX')    /* Ok */
               XPdel('\DATA\*.BAK')  /* <-- NOT OK!!!! */
               /* Path may not be submitted! */

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson