Name

GetDir Function

Syntax

procedure GetDir(Drive: Byte; var Directory: string);

Description

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.

See Also

ChDir Procedure, MkDir Procedure, RmDir Procedure
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset