March 2000
Intermediate to advanced
576 pages
18h 13m
English
GetDir Function
procedure GetDir(Drive: Byte; var Directory: string);
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.
GetDir is not a real
procedure.
| ChDir Procedure, MkDir Procedure, RmDir Procedure |
Read now
Unlock full access