Display the workstation current environment(Windows)

SET [variable=[string]]

variable - Specifies the environment-variable name.
string - Specifies a series of characters to assign to the variable.

Example:

c:/>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\ale1v\Application DataCommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=ALE1V
ComSpec=C:\WINDOWS\system32\cmd.exe
DEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtection
FP_NO_HOST_CHECK=NO
HOMEDRIVE=H:
HOMEPATH=\
HOMESHARE=\\fileserver1Users\Ale1v
LOGONSERVER=\\dc3
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Path=C:\Program Files\ThinkPad\Utilities;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\Downloaded Program Files;C:\Program Files\Intel\Wireless\Bin\;C:\Program Files\Symantec\pcAnywhere\;C:\Program Files\Intel\Wireless\Bin\;C:\Program Files\ThinkPad\ConnectUtilities
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.
WSHPROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 13 Stepping 8, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0d08
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\ale1v\LOCALS~1\Temp
TMP=C:\DOCUME~1\ale1v\LOCALS~1\Temp
USERDNSDOMAIN=MYDOMAIN.NET
USERDOMAIN=MYDOMAINUSERNAME=ALE1V
USERPROFILE=C:\Documents and Settings\ale1v
VSEDEFLOGDIR=C:\Documents and Settings\All Users\Application Data\McAfee\DesktopProtectionwindir=C:\WINDOWS

No comments:

Recent Posts