Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Run vbscript from applet.

843807Apr 12 2010 — edited Apr 12 2010
Hi,

i have a vbscript to perform doc to pdf convertion. I placed vbs file in jar and tried to execute with getRuntime().exec
Runtime.getRuntime().exec("wscript \"\\doctopdf.vbs\"");
No way, it reading from local path. How can i execute vbs file from jar and execute locally?? Is it possible? Or any other way to perform my task?

Thanks in advance..
Joe
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 10 2010
Added on Apr 12 2010
1 comment
422 views