home *** CD-ROM | disk | FTP | other *** search
- : ---------------------------------------------------------------------
- @echo off
- rem ENV.BTM
- rem
- rem This sample batch file will use some internal 4DOS variable
- rem functions to try to describe your current configuration.
- rem
- cls
- echo.^echo.
- echo System status:
- echo.
- echo Date: %_dow %_date Time: %_time
- echo 4DOS version: %_4ver %_dos version: %_dosver
- iff %_win == 1 then
- echo Running Windows 2.x
- elseiff %_win == 2 then
- echo Running Windows 386 Enhanced Mode
- elseiff %_win == 3 then
- echo Running Windows 3.x Real or Standard Mode
- elseiff %_win == 20 then
- echo Running OS/2 2.0 DOS Box
- endiff
- echos `CPU: `
- iff %_cpu == 86 then
- echo 8088/8086
- elseiff %_cpu == 186 then
- echo 80188/80186
- elseiff %_cpu == 200 then
- echo V20/V30
- elseiff %_cpu == 286 then
- echo 80286
- elseiff %_cpu == 386 then
- echo 80386
- elseiff %_cpu == 486 then
- echo 80486
- endiff
- if %_ndp ne 0 echo %_ndp Numeric Coprocessor detected
- echo Video: %_video
- echo Monitor type: %_monitor
- echo Free Environment Space: %_env
- echo Free Memory: DOS:%@dosmem[k]KB EMS:%@xms[k]KB XMS:%@xms[k]KB
- echo Shell: %_shell
- quit
-
-