home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 26 / CD_ASCQ_26_1295.iso / vrac / batsh220.zip / SAMPLE3.BSH < prev    next >
Text File  |  1995-05-08  |  611b  |  32 lines

  1. REM show different variables
  2. ;*********************
  3. if '%$USER%'==''
  4. MESSAGE INFO
  5. Samples of different variable types
  6. Global Variables 
  7.      Username from SAMPLE1.BSH
  8.     %$$USER%
  9. DOS Variables
  10.      Path:
  11.     %path%
  12.      Windows Directory:
  13.     %windir%
  14. Special Variables: 
  15.      Current Directory
  16.     %$CD%
  17. Variables from WIN.INI
  18.      Current Printer:
  19.     %win|windows|device%
  20.      StartUp Programs:
  21.     %win|windows|load%
  22. Variables from SYSTEM.INI
  23.      Top Shell:
  24.     %system|boot|shell%
  25.      Language:
  26.     %system|boot.description|language.dll%
  27.      Network-Username:
  28.     %system|network|username%
  29. .
  30. exit
  31.  
  32.