◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── Include: DOS.INC Syntax: @GetDrv @SetDrv drive Summary: Gets or sets the current drive Argument: <drive> 8-bit drive number (0 = A, 1 = B, ...) Returns: For @GetDrv, drive number in AL (0 = A, 1 = B, ...); for @SetDrv, number of drives in AL Modifies: AX for both; DL for @SetDrv See also: Int 21h Functions 19h and 0Eh, @GetDir, @ChkDrv -♦-