import java.lang.*;
import java.io.*;public class process {
public static void main(String args[]){
try
{
String command = "c:\\temp\\1.exe";
Process child = Runtime.getRuntime().exec(command);
}
catch(IOException e)
{
e.printStackTrace();
System.out.println("exe");
}
}
}
import java.io.*;public class process {
public static void main(String args[]){
try
{
String command = "c:\\temp\\1.exe";
Process child = Runtime.getRuntime().exec(command);
}
catch(IOException e)
{
e.printStackTrace();
System.out.println("exe");
}
}
}
import java.util.*;public class CmdExec {
public CmdExec(String cmdline) {
try {
String line;
Process p = Runtime.getRuntime().exec(cmdline);
BufferedReader input = new BufferedReader
(new InputStreamReader(p.getInputStream()));
while ((line = input.readLine()) != null) {
System.out.println(line);
}
input.close();
}
catch (Exception err) {
err.printStackTrace();
}
}public static void main(String argv[]) {
new CmdExec("c:/abc.bat");
}
}
访问http://168.168.18.11:81/etechbase/advsearch.php将您的问题输入查询内容框,选择不同的精确程度,即可以找到你所需要的答案。效果还是可以的。