سؤال

i am developing a Netbeans Plugin where i need to invoke a command(windows bath file) which can be executed with the command prompt. is there a way to invoke that batch file from the Netbeans plugin?

Thanks !!!

هل كانت مفيدة؟

المحلول

You can use Runtime.exec or alternatively you can have a look at the NetBeans Developer FAQ specifically the page on External Processes I would think.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top