Environment Variables

D

David Sherman

I want to get a list on all the Enviroment variables that can be used
from the Windows XP, run command.
Command like

%tmp%
%temp&
%systemroot%
%windir%

These enviroment variables open up specific folders in Windows. So are
they more environment variables that will open more folders in
Windows?

thanks
 
W

Wesley Vogel

Open a command prompt, type set and hit Enter.

Environment Variables in Windows NT
http://support.microsoft.com/kb/100843/EN-US/

Environment Variables in Windows XP
http://vlaurie.com/computers2/Articles/environment.htm

See >> Using environment variables with Cmd.exe here...
Microsoft Windows XP - Command shell overview
http://www.microsoft.com/resources/.../all/proddocs/en-us/ntcmds_shelloverview.mspx

environment variables
http://www.wilsonmar.com/1envvars.htm


--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
T

Tim Slattery

David Sherman said:
I want to get a list on all the Enviroment variables that can be used
from the Windows XP, run command.
Command like

%tmp%
%temp&
%systemroot%
%windir%

Type

set

at the command prompt
These enviroment variables open up specific folders in Windows. So are
they more environment variables that will open more folders in
Windows?

These environment variables store the names of various folders. Simply
typing %windir% on a command line will not open the windows directory,
it will get you an error message. Surrounding the name of an
environment variable with % signs on the command line causes the
command interpreter to look up the environment variable and substitute
its value for the %xxx% sequence.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top