I had looked at the link you posted earlier too.. I see that you had posetd the answer then too! So, I can post my queries to you directly!
I created a jsx file named "Result.jsx", which I saved in my D drive, with the following code,
resultFile = new File("D:/result.log");
If I run this directly from ESTK, there is no problem, and I get the result.log file. I tried to execute this script via command line as shown in the screenshot,
On executing the above, I got the following error,
What am I doing wrong? I need to do this urgently. Please suggest a solution..
I tried the same scenario with ESTK CS5, CS5.5 and CS6. With ESTK CS5, no error occurred, but also no result.log file generated. With ESTSK CS5.5 and CS6, there is no problem to run it from command line.
I have no idea why it doesn't work in ESTK CS5. Maybe you can get some help in the forum http://forums.adobe.com/community/creativesuites/cs_sdk .