Ask Paula!

...bringing you notes from the field...
posts - 55, comments - 17, trackbacks - 0

My Links

News

Article Categories

Archives

Post Categories

.NET Development

Enterprise Integration

Java Development

Mobile/PDA Development

Professional Affiliations

How do I view/see the PATH in a windows environment?

For those of you working with LINUX/UNIX and you've typed:

c:> echo $PATH

..in a command line expecting to see everything in your path on startup and saw only 'PATH', don't fret!

type this instead:

c:> echo %path%

 

Print | posted on Thursday, December 18, 2008 5:47 AM | Filed Under [ Practical Answers ]

Feedback

Gravatar

# re: How do I view/see the PATH in a windows environment?

On windows, the command shell's "path" command also displays the current path when it is issued with no arguments. So, ...

c:>path

will also display the current path. Easier than using the echo command.

The SET command will display all shell variables when issued with no arguments.

c:>set

will display path along with everything else.

Finnally, the set command will display the current value of the shell variable when a shell variable name is given with no value. So, ...

c:>set path

Will also display the current path.
12/18/2008 11:29 PM | joe
Gravatar

# re: How do I view/see the PATH in a windows environment?

c:>path
c:>set path
12/19/2008 3:43 AM | joe
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: