You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mladen Turk <mt...@apache.org> on 2006/12/08 17:42:48 UTC

[OT] Windows cmd parsing

Hi,

If anyone has access to the Windows 2000 or Windows NT 4.0
(I have 2k3 and XP, so I know its working), can you do the
following:

Open cmd.exe
C:> set "FOO=FOO BAR"
C:> echo %FOO%

And give me the output?
The problem is that I'm not sure how pre-XP handles
the SET directive is there is a single quoted param containing '='


Thanks,
Mladen.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [OT] Windows cmd parsing

Posted by Mladen Turk <mt...@apache.org>.
Fenlason, Josh wrote:
> Microsoft Windows 2000 [Version 5.00.2195]
> (C) Copyright 1985-2000 Microsoft Corp.
> 
> C:\Documents and Settings\stagecoach>set "FOO=FOO BAR"
> 
> C:\Documents and Settings\stagecoach>echo %FOO%
> FOO BAR
>

Excellent, so it works on 2K as well!

Thanks,
Mladen.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


RE: [OT] Windows cmd parsing

Posted by "Fenlason, Josh" <jf...@ptc.com>.
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.

C:\Documents and Settings\stagecoach>set "FOO=FOO BAR"

C:\Documents and Settings\stagecoach>echo %FOO%
FOO BAR

C:\Documents and Settings\stagecoach> 

> -----Original Message-----
> From: Mladen Turk [mailto:mturk@apache.org] 
> Sent: Friday, December 08, 2006 10:43 AM
> To: Tomcat Developers List
> Subject: [OT] Windows cmd parsing
> 
> Hi,
> 
> If anyone has access to the Windows 2000 or Windows NT 4.0 (I 
> have 2k3 and XP, so I know its working), can you do the
> following:
> 
> Open cmd.exe
> C:> set "FOO=FOO BAR"
> C:> echo %FOO%
> 
> And give me the output?
> The problem is that I'm not sure how pre-XP handles the SET 
> directive is there is a single quoted param containing '='
> 
> 
> Thanks,
> Mladen.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For 
> additional commands, e-mail: dev-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org