call .bat file from action plugin

Hello forum!

I would like to know whether it's possible to call a .bat file, which is located on my disk, from an action plugin.

Thanks in advance

Regards,
msch95
3 comments
You mean a plugin action? Yes, this is possible. What do you want to achieve?

Best regards,
Bernd
0
Thanks for your answer Bernd! I want to simple call a .bat file on my hard-drive on a plugin action (so that the user doesn't need to search for it).
I know how I can add plugin actions to MPS, but I don't know which class or language could serve my needs and call .bat file. Maybe you could give me a hint.

Thanks!

Best regards
msch95
0
Well, you can use the regular java process api.
0

Please sign in to leave a comment.