[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DIRNAME()
 Determines the name of the current directory
------------------------------------------------------------------------------
 Syntax

     DIRNAME([<cDrive>]) --> cDirectory

 Argument

     <cDrive>  Designates the drive for which the current directory is
     determined (a colon is unnecessary).  The default is the current drive.

 Returns

     DIRNAME() returns the current directory name on the <cDrive>.

 Description

     DIRNAME() determines the current directory name on the selected drive.
     You can use this function to construct complete access paths.

 Notes

     .  The maximum length of the returned value is 65 characters.  If
        no drive designator is specified, the current drive is assumed.

     .  If there is an invalid drive designation, DIRNAME() returns a
        null string.

 Examples

     .  Display the current directory name:

        ? "Current Directory:  " + DIRNAME()

     .  With a drive designator:

        ? DIRNAME("A")               // Current directory on Drive A:


See Also: DIRCHANGE() DIRMAKE() DIRREMOVE()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson