www.kxcad.net Home > Electronic Index > Altium(Protel) Index
Declaration
procedure getdir(drive : byte; var directory : string);
Description
The GetDir procedure stores in Directory the default directory for the drive specified by the drive parameter. If Drive is 1 for A drive through 26 for Z: drive, the GetDir retrieves the default directory for that drive.
The value stored in the Directory parameter always begins with the drive letter eg X:\Program Files
See also
Append, AssignFile, CloseFile, ChDir, MkDir, Read, ReadLn, RmDir, Write and Writeln functions.