Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - int 21 - dos 2+ - change the current directory (chdir) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 21 - DOS 2+ - CHANGE THE CURRENT DIRECTORY (CHDIR)
        AH = 3Bh
        DS:DX -> ASCIZ directory name (may include drive)
Return: CF set on error
            AX = error code (03h) (see AH=59h)
        CF clear if successful
            AX destroyed
Note:   if new directory name includes a drive letter, the default drive is
          not changed, only the current directory on that drive
SeeAlso: AH=47h, INT 2F/AX=1105h

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson