home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 17 / CD_ASCQ_17_101194.iso / vrac / 4btmutil.zip / ENV.BTM < prev    next >
Text File  |  1994-05-22  |  1KB  |  45 lines

  1. : ---------------------------------------------------------------------
  2. @echo off
  3. rem ENV.BTM
  4. rem
  5. rem      This sample batch file will use some internal 4DOS variable
  6. rem      functions to try to describe your current configuration.
  7. rem
  8. cls
  9. echo.^echo.
  10. echo System status:
  11. echo.
  12. echo Date: %_dow %_date           Time: %_time
  13. echo 4DOS version: %_4ver  %_dos   version: %_dosver
  14. iff %_win == 1 then
  15.    echo Running Windows 2.x
  16. elseiff %_win == 2 then
  17.    echo Running Windows 386 Enhanced Mode
  18. elseiff %_win == 3 then
  19.    echo Running Windows 3.x Real or Standard Mode
  20. elseiff %_win == 20 then
  21.    echo Running OS/2 2.0 DOS Box
  22. endiff
  23. echos `CPU: `
  24. iff %_cpu == 86 then
  25.   echo 8088/8086
  26. elseiff %_cpu == 186 then
  27.   echo 80188/80186
  28. elseiff %_cpu == 200 then
  29.   echo V20/V30
  30. elseiff %_cpu == 286 then
  31.   echo 80286
  32. elseiff %_cpu == 386 then
  33.   echo 80386
  34. elseiff %_cpu == 486 then
  35.   echo 80486
  36. endiff
  37. if %_ndp ne 0 echo %_ndp Numeric Coprocessor detected
  38. echo Video: %_video
  39. echo Monitor type: %_monitor
  40. echo Free Environment Space: %_env
  41. echo Free Memory: DOS:%@dosmem[k]KB     EMS:%@xms[k]KB          XMS:%@xms[k]KB
  42. echo Shell: %_shell
  43. quit
  44.  
  45.