<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.5762.3">
<TITLE>command line arguments</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>I use the command line interface to transform all of my documents. </FONT>
</P>
<P><FONT SIZE=2>Before I upgraded from XEP 3.21 to XEP 3.5 the following command worked just fine:</FONT>
<BR> <FONT SIZE=2>c:\XEP\xep.bat test.fo -DH4PDF.USERPRIVILEGES=print</FONT>
</P>
<P><FONT SIZE=2>now I get the following error:</FONT>
<BR> <FONT SIZE=2>error: unexpected command line argument #2(input parameter): '-DH4PDF.USERPRIVILEGES=print'</FONT>
</P>
<P><FONT SIZE=2>this is my xep.bat file:</FONT>
<BR><FONT SIZE=2>rem <XEP_BAT></FONT>
<BR><FONT SIZE=2>@echo off</FONT>
<BR><FONT SIZE=2>rem This batch file encapsulates a standard XEP call. </FONT>
</P>
<P><FONT SIZE=2>set CP="C:\XEP\lib\xep35_server.jar;C:\XEP\lib\cryptix32.jar;C:\XEP\lib\cryptix32-pgp.jar;C:\XEP\lib\saxon.jar;C:\XEP\lib\xt.jar"</FONT></P>
<P><FONT SIZE=2>if x%OS%==xWindows_NT goto WINNT</FONT>
<BR><FONT SIZE=2>jview /cp %CP% /d:com.renderx.xep.ROOT="C:\XEP" com.renderx.xep.XSLDriver %1 %2 %3 %4 %5 %6 %7 %8 %9</FONT>
<BR><FONT SIZE=2>goto END</FONT>
</P>
<P><FONT SIZE=2>:WINNT</FONT>
<BR><FONT SIZE=2>jview /cp %CP% /d:com.renderx.xep.ROOT="C:\XEP" com.renderx.xep.XSLDriver %*</FONT>
</P>
<P><FONT SIZE=2>:END</FONT>
</P>
<BR>
<P><FONT SIZE=2>set CP=</FONT>
<BR><FONT SIZE=2>rem </XEP_BAT></FONT>
</P>
<P><FONT SIZE=2>What am I doing wrong?</FONT>
</P>
<P><FONT SIZE=2>Regards,</FONT>
<BR><FONT SIZE=2>Rui Neto</FONT>
</P>
</BODY>
</HTML>