Bernd Blaauw escreveu:
1) never dreamed of typing VER /R or VER /? _this extended version should be the dafault_
that may be not so compatible to batchfiles etc. VER /R is an ancient trick.
This will *not* be incompatible because this is just a text output. only difference in that it is a little bigger. M$'s also vary a lot from one to another and I dont believe someone made a parser for that ;-)
2) Kernel version only by numbers is not enough, there are too many variants that show only in the kernel description string string (like fat32)
Kernel 2033 [FAT32, 2004-04-01-CVS, OpenWatcom1.2, UPX1.24-NRV]
(not everything can be set. for example, UPX only happens after compiling the kernel.)
Whith that I van usualy identify one and find it again or information about it.
Luchezar Georgiev escreveu: > This is shown on kernel startup. The DOS Function 30h code is > (inthndlr.c, line 696) > > /* Get (editable) DOS Version */ > case 0x30: > lr.AL = os_setver_major; > lr.AH = os_setver_minor; > lr.BH = OEM_ID; > lr.CH = REVISION_MAJOR; /* JPP */ > lr.CL = REVISION_MINOR; > lr.BL = REVISION_SEQ;
There is also one other for DR-DOS and something (which I don't know) for Datalife-ROM-DOS. But specificaly for FreeDOS it is not enough because there are far too many versions with the same numbers :(
Alain
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel