Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 21h Function 47h
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The returned path name does not include the drive identifier or a
     leading backslash (\). It is terminated with a null (00h) byte.
     Consequently, if the current directory is the root directory, the
     first byte in the buffer will contain 00h.
 
     The function fails if the drive code is invalid.
 
     The current directory may be set with Int 21h Function 3Bh.
                                    -♦-