Category : Files from Magazines
Archive   : VOL8N7.ZIP
Filename : GET_ID.BAT

 
Output of file : GET_ID.BAT contained in archive : VOL8N7.ZIP
ECHO OFF
ID
SET ID=unknown
FOR %%n IN (48 49 50 51 52 53 54 55) DO IF ERRORLEVEL 2%%n SET ID=2%%n
GOTO %ID%
:255
ECHO PC
GOTO end
:254
ECHO PC XT (early)
GOTO end
:253
ECHO PCjr
GOTO end
:252
ECHO AT -or- XT-286 -or- PS/2 model 50 and 60
GOTO end
:251
ECHO XT (later)
GOTO end
:250
ECHO PS/2 model 30
GOTO end
:249
ECHO PC convertible
GOTO end
:248
ECHO PS/2 model 70 and 80
GOTO end
:unknown
ECHO Unknown machine type
:end
ECHO The machine ID code is now available for use in your
ECHO other batch files -- in the environment variable ID.


  3 Responses to “Category : Files from Magazines
Archive   : VOL8N7.ZIP
Filename : GET_ID.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/