You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by de...@epiphany.com on 2001/05/03 03:23:39 UTC

How to escape " still failing

Sorry for bugging people but this still doesn't work, I guess I am missing
something. Here's what I am doing:

<echo message="..\ConfigFiles\EpiMgr.vbs  -P &quot;&quot;"/>
<exec executable="cscript">		
   <arg line="..\ConfigFiles\EpiMgr.vbs -P &quot;&quot;"/>
</exec>

The output looks as follows

 [echo] ..\ConfigFiles\EpiMgr.vbs -P ""

: this looks good -P has "" (no password given to the script)

 [exec] Myos = Windows NT
 [exec] cscript ..\ConfigFiles\EpiMgr.vbs -P

:but when it comes to exec the quotes are missing and the script complains.

I guess my question is: How do I get this working?

Thanks.

Re: How to escape " still failing

Posted by Stefan Bodewig <bo...@apache.org>.
<de...@epiphany.com> wrote:

> <exec executable="cscript">		
>    <arg line="..\ConfigFiles\EpiMgr.vbs -P &quot;&quot;"/>
> </exec>

Does something like this

<exec executable="cscript">		
   <arg line="..\ConfigFiles\EpiMgr.vbs -P"/>
   <arg value="&quot;&quot;" />
</exec>

work?

Stefan