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()