GetDir Function
The GetDir
procedure stores in
Directory
the default directory for the drive
specified by Drive
. If Drive
is
1 (for A:) through 26 (for
Z:), GetDir
retrieves the
default directory for that drive. If the drive is not valid or if
Drive
is any other value,
GetDir
retrieves the default drive and directory.
The value stored in Directory
always begins with
the drive letter, e.g., X:Directory
.