home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
swCHIP 1991 January
/
swCHIP_95-1.bin
/
utility
/
batsh201
/
sample3.bsh
< prev
next >
Wrap
Text File
|
1995-12-09
|
611b
|
32 lines
REM show different variables
;*********************
if '%$USER%'==''
MESSAGE INFO
Samples of different variable types
Global Variables
Username from SAMPLE1.BSH
%$$USER%
DOS Variables
Path:
%path%
Windows Directory:
%windir%
Special Variables:
Current Directory
%$CD%
Variables from WIN.INI
Current Printer:
%win|windows|device%
StartUp Programs:
%win|windows|load%
Variables from SYSTEM.INI
Top Shell:
%system|boot|shell%
Language:
%system|boot.description|language.dll%
Network-Username:
%system|network|username%
.
exit