Int 21/AX=71A8h

lup.gif ldown.gif Interrups Categories Contents

rbline.gif

Windows95 - LONG FILENAME - GENERATE SHORT FILENAME

AX = 71A8h
DS:SI -> ASCIZ long filename (no path allowed!)
ES:DI -> buffer for ASCIZ short filename
DH = short name's format
00h 11-char directory entry/FCB filename format
01h DOS 8.3
DL = character sets

bits 7-4:
Short name's character set (see #01785)

bits 3-0:
Long name's character set (see #01785)

Return:
CF clear if successful ES:DI buffer filled CF set on error AX = error code 7100h if function not supported

Note: This function uses the same algorithm as the filesystem except that the returned name never has a numeric tail for disambiguation

See Also: AX=7160h/CL=00h - AX=7160h/CL=02h - AX=71A7h/BL=00h

(Table 01785) Values for Windows95 filename character set: 00h Windows ANSI 01h current OEM character set 02h Unicode

Category: DOS Kernel - Int 21h - W

rbline.gif

lup.gif ldown.gif Interrups Categories Contents