#How Map Log Drv to Phys
07-Mar-90 20:12:21
Sb: #24369-#How Map Log Drv to Phys
Fm: Don E. Groves, Jr. 71310,3702
To: Jim Mischel 73717,1355
Jim,
After typing the below description I came to the thought that this is
working from the wrong position, tell me so if its true. But maybe it will
help give you and idea anyway.
I don't know if this will help but an undocumented DosCall with
AH = 60h
DS:SI point to null terminated string "D:\path"
ES:DI point to space to be filled out 66 bytes long to be safe
Great for detecting a Drive letter thats been Subst for a path for it
returns the drive and path it points to. If you supply it with a drive:path
the points to Joined drive it returns the drive letter only.
This works in PC/MS-DOS 3.1 and up.
Over on PCM:Util we call it TranslateFileName
Jr.