Discussion Locked

System Variable

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Does anyone know where I can a list of the System Variables in Windows? Such as
%systemroot%, %username%, etc....

7 replies

by kares

hi,

one way is to open the command prompt and
type set.
you can get more information if you type set /?
this is a list of user variables:
%COMPUTERNAME% Name of computer
%HOMEDRIVE% Users local drive letter
%HOMEPATH% The full path of theusers home area
%HOMESHARE% The share that contains the users home area
%LOGONSERVER% This is the name of the machine that validates the user logon
%OS% The operating system the User is connected to
%PROCESSOR% e.g. 486 (useful to put in a login script and ridicule if a 386 or below)
%USERDOMAIN% Domain containing the Users Account
%USERNAME% The name of the user

sven

by antony_k

Simply run SET command at the command prompt and you'll get the list of all variables with their values.

This discussion is closed to new replies.