Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>dirmove()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
DIRMOVE()

Syntax:     DIRMOVE(<expC>)

Arguments:  <expC> The name of the directory to remove.

Returns:    A numeric value.
            0 if it is possible to remove the directory specified, otherwise
            an error code will be returned.

            Code        Definition
            ----        ----------
              0         The directory was successfully removed
             -3         Access path not found or directory not empty
             -5         Access refused (e.g., on a network)
             -16        Actual directory (cannot be removed)

Usage:      With this function it is possible to remove any subdirectory.

Notes:      A drive designator and a path name are allowed.  Wildcards
            are not allowed.  The directory to be removed must be empty.

Library:    CT1.LIB


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

Examples:   * Removing the subdirectory "\DATA"
            IF DIRREMOVE("\DATA") = 0
               ? "Directory erased."
            ENDIF



See Also: DIRCHANGE() DIRMAKE() DIRNAME()

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