Hi all,

I'm not sure if this is the right place to post this, please let me know if I should put it somewhere else.

From my program, I call the following command:

cmd.exe /C "C:\jboss\server\default\deploy\xPression.ear\BatchRunner.bat" -j "FC" -q "C:\MultiThreader\override\FC Investment.XML.xml"

However, I get the following error:

The filename, directory name, or volume label syntax is incorrect.

I don't really know command lines too well. This piece of code was given to me, and I was told to use it.

Please help me understand what is wrong here.

Thanks.

Well either server path or file path is wrong. Seeing that you already mentioned sever path in other thread and had no problems guess it will be file path. Check if file exists and also try to remove the empty spaces from file name