my dog learned polymorphism*
The moose likes Linux / UNIX and the fly likes $ MY_BIN equivalent environment variable  in Windows XP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "$ MY_BIN equivalent environment variable  in Windows XP" Watch "$ MY_BIN equivalent environment variable  in Windows XP" New topic
Author

$ MY_BIN equivalent environment variable in Windows XP

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1372
What is the equivalent environment variable for $ MY_BIN(UNIX) in Windows XP ?
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

What system offers the $MY_BIN - variable?
I never heard of it before.


http://home.arcor.de/hirnstrom/bewerbung
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16019
    
  20

I think you probably mean the PATH. In Unix, this is the PATH environment variable. In Windows, you can SET this using the "SET PATH=" statement or the older DOS PATH command OR set it globally using the Windows Control Panel System applet.

In Windows, BTW, instead of using a dollar sign, you bracket environment vairables with "%". So instead of "echo $JAVA_HOME", you'd write "echo %JAVA_HOME%".


Customer surveys are for companies who didn't pay proper attention to begin with.
 
Don't get me started about those stupid light bulbs.
 
subject: $ MY_BIN equivalent environment variable in Windows XP