FileDocCategorySizeDatePackage
ExecTest.javaAPI DocExample428Mon Jan 09 11:02:00 GMT 2006None

ExecTest

public class ExecTest extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidmain(java.lang.String[] args)

    
        String cmd = "cmd.exe /c start ";
        //String file = "c:\\version.txt";
        //String file = "http://www.google.com";
        //String file = "c:\\";
        //String file = "mailto:author@mybook.com";
        String file = "mailto:";
        Runtime.getRuntime().exec(cmd + file);