@echo off
:
: Display environ information
:
cls
echo TIME      %_time     %_date       %_dow
echo.
echo SOFTWARE
echo      %_dos  %_dosver
echo      4DOS %_4ver     Shell level: %_shell      Last external command exit code: %?
echo      DV:  %@substr[NY,%_DV,1]
echo      WIN: %@substr[N         2.x       386 Enhan Real/Stand,%_win%0,10]
echo.
echo PATHES
echo      temp:  %temp

iff "%temp4dos%%temp"=="" then
  echo      pipes: %_boot:\
else
  iff "%temp4dos"=="" then
   echo      pipes: %temp
  else
    echo      pipes: %temp4dos
  endiff
endiff

echo.
echo HARDWARE
echo      CPU: %_cpu    Mouse: %@substr[NY,%_mouse,1]
echo      FPU: %_ndp
echo.
echo VIDEO
echo      Monitor: %_monitortRows:t%_rowstForeGround:t%_fgtansi.sys: %@substr[NY,%_ansi,1]
echo      Video:   %_videotColons:t%_columnstBackGround:t%_bg
echo.
echo MEMORYttDOStEMStXMStALIAStENVIRON
echo      totalt-t-t%@extended[k]kt-t-
echo      freet%@dosmem[k]kt%@ems[k]kt%@xms[k]kt%_aliast%_env
