[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Remove a directory.
------------------------------------------------------------------------------
Syntax
GT_RmDir(<cDir>,[@<nError>]) --> lRemoved
Arguments:
<cDir> is the path of the directory.
<nError> is an optional parameter that must be passed by reference.
If the directory can't be removed the DOS error code will be placed
in this variable.
Returns:
If the directory was removed , GT_RmDir() returns true (.T.), if
not it returns false (.F.).
Description:
GT_RmDir() can be used to remove a directory.
Examples:
// Remove a directory.
nError := 0
if !GT_RmDir("Knight",@nError)
? "Error =",nError
endif
Source: RMDIR.C
Author: Dave Pearson
See Also: GT_MKDIR() GT_CHDIR()
Online resources provided by: http://www.ClipX.Net --- NG 2 HTML conversion by Dave Pearson