Make your own free website on Tripod.com
Up ] Docs Home ]

Format of one item in DOS 4.0+ list of special program names

Back ] Next ]

Offset Size Description

00h

BYTE

length of name (00h = end of list)

01h

N BYTEs

name in format name.ext

N

2 BYTEs

DOS version to return for program (major,minor) (see AH=30h,INT 2F/AX=122Fh)

---DOS 4 only---

N+2

BYTE

number of times to return fake version number (FFh = always)

Note:

If the name of the executable for the program making the DOS "get version" call matches one of the names in this list, DOS returns the specified version rather than the true version number.