[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DISKNAME()
 Return the current DOS drive
------------------------------------------------------------------------------
 Syntax

     DISKNAME() --> cDrive

 Returns

     DISKNAME() returns the letter of the current DOS drive, without a
     trailing colon.

 Examples

     .  This example illustrates the relationship between
        DISKNAME()and DISKCHANGE() and shows that DISKNAME() is unaffected by
        the SET DEFAULT TO command:

        ? DISKNAME()      // C
        SET DEFAULT TO A
        ? DISKNAME()      // C
        DISKCHANGE("A")
        ? DISKNAME()      // A
        DISKCHANGE("C")
        ? DISKNAME()      // C

 Files   Library is EXTEND.LIB.


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