GlassFish Application Server uses a script, asadmin.bat, that in turns starts a JVM.
I'd like to call this script using jinterop and DCOM from Java on a remote machine. I can't find any help on this specific usage. Any help would be greatly appreciated.
I use the Windows Scripting Host Shell to execute some program or batch on a remote computer.
The code looks like:
If you need the output from the batch you can use StdOut to read it.