可以执行*.bat的,详细的你也可以参阅JavaAPIDocument的,
 Process exec(String command) 
          Executes the specified string command in a separate process. 
 Process exec(String[] cmdarray) 
          Executes the specified command and arguments in a separate process. 
 Process exec(String[] cmdarray, String[] envp) 
          Executes the specified command and arguments in a separate process with the specified environment. 
 Process exec(String[] cmdarray, String[] envp, File dir) 
          Executes the specified command and arguments in a separate process with the specified environment and working directory. 
 Process exec(String cmd, String[] envp) 
          Executes the specified string command in a separate process with the specified environment. 
 Process exec(String command, String[] envp, File dir) 
          Executes the specified string command in a separate process with the specified environment and working directory.