Invoke an external batch file : WIN32 « SWT « Java Tutorial






import org.eclipse.swt.program.Program;
import org.eclipse.swt.widgets.Display;

public class ExternalBatchFileInvoke {

  public static void main(String[] args) {
    Display display = new Display();
    Program.launch("c:\\cygwin\\cygwin.bat");
    display.dispose();
  }

}








17.127.WIN32
17.127.1.Using System Icon ImageUsing System Icon Image
17.127.2.Invoke the system text editor on autoexec.bat
17.127.3.Invoke an external batch file
17.127.4.Load System File IconLoad System File Icon
17.127.5.Embed Word in an applet (win32 only)
17.127.6.OLE and ActiveX: browse the typelibinfo for a program id (win32 only)
17.127.7.OLE and ActiveX: get events from IE control (win32 only)OLE and ActiveX: get events from IE control (win32 only)
17.127.8.How to access About, Preferences and Quit menus on carbon.
17.127.9.Add System Setting Change Listener
17.127.10.Detect a system settings changeDetect a system settings change