strongm^^^THANKS A LOT!
geates^^^no, it's not a binary string. It's the normal one with lots of JARs and individual classes. We are working to reduce this.
Another question-
When I passed the batch file name as strCmd it works fine. What is the difference between these two types of calls?
>the .run method appears to have a limit of 2048 characters for strCommand
I just wrote a quick Java code to find out the char number in my string and it is 2202. So, you are saying that could be the problem. Could you please point me to the docs which listed limitations of .run as well as...
Geates,
I have double checked that. String is cool. Also if I run the whole string using command prompt it's working fine. It's throwing permission denied only while I try to execute the string from the application. I have also give that a/c admin access but no luck!
Hey guys,
I am new to this forum and working with VBScript and Java for last 8 months.
I am getting 'permission denied' message from WshShell.Run() while trying to execute the raw command but still I am getting return code 0. If I stored all those same instructions in a batch file and run that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.