Hi Ralph,
i have my .jar in the location D:\BIP\RR_Jar\ and the batch file in the location D:\BIP\Batches\
with this folder structure the batch is running successfully. Below is the result.
D:\BIP>java -Xms512m -Xmx512m -jar RR_Jar\NOPARAM_PDF.jar "/FBC Reports/EOM Repo
rts/Byo Corp/Byo Credit gr/Byo Credit gr.xdo" "Reports\EOM\Byo Corp\Byo Credit
gr.pdf"
D:\BIP>PAUSE
Press any key to continue . . .
Now if i change the location of batch from D:\BIP\Batches\ to D:\BIP\Batches\EOD\ it fails saying the below.
D:\BIP\Batches>java -Xms512m -Xmx512m -jar RR_Jar\NOPARAM_PDF.jar "/FBC Reports/
EOM Reports/Byo Corp/Byo Credit gr/Byo Credit gr.xdo" "Reports\EOM\Byo Corp\By
o Credit gr.pdf"
Unable to access jarfile RR_Jar\NOPARAM_PDF.jar
D:\BIP\Batches>PAUSE
Press any key to continue . . .
so i want to know how the system is picking up D:\BIP>java and D:\BIP\Batches>java location when i run it from a different folder.
My batch file contents are
java -Xms512m -Xmx512m -jar RR_Jar\NOPARAM_PDF.jar "/FBC Reports/EOM Reports/Byo Corp/Byo Credit gr/Byo Credit gr.xdo" "Reports\EOM\Byo Corp\Byo Credit gr.pdf"