Hi,
How to escape & in command prompt. The whole idea is to pass a URL as a command line argument. But that URL contains & symbols. So I am getting the following error.
"'pid' is not recognized as an internal or external command,
operable program or batch file."
See the below
ant script
<target name="x" depends="y">
<
java classname="${main-class}" fork="true" failonerror="yes">
<classpath>
<path refid="lib.classpath" />
<fileset dir="${z}" includes="**/*.jar" />
</classpath>
<arg value="${URL}" />
</java>
</target>
Thanks
Anish