Java Promblem/Demand And Solution
Demand: 通过Java代码直接运行exe文件
Solution:
public class Test {
public static void main(String[] args) {
try {
Process p = Runtime.getRuntime().exec("D:\\仓库\\桌面\\ObjectManager\\enen\\gameo.exe");
} catch (Exception e) {
.
原创
2022-05-17 19:57:15 ·
158 阅读 ·
0 评论