--- Suu Quan <[EMAIL PROTECTED]> wrote:
> RE: newbie: how to echo the value of a variable
> I still get the litteral ="${env.PATH}" not the value of the
> environment variable
>
> You didn't tell us what OS you are using. On some OS environment
> variables (their names) are *not* case-insensitive, so you may want to
> use "Path" (for example on my W2K).
>
> Have a look at your environment (on WinNT/W2K) using "set P" and you
> will see the "real" name.
> Sorry, forgot that important piece of information
>
> os.name = Windows 2000
> ant.java.version = 1.3
> ant.home = C:\jakarta-ant-1.3
>
>
> What is "set P" and how do you use it?
It's a command you can run from a DOS window (but I'm not sure if Win2K
even has any command windows :) But what he was getting at was that your
"path" variable may well be "Path" instead of "PATH" -- try echo'ing out
${env.Path} instead of ${env.PATH} and see what happens.
Diane
=====
([EMAIL PROTECTED])
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/