startOneExe.java:
import java.awt.*; import java.io.File; public class startOneExe { public static void main(String[] args) throws AWTException{ try{ Desktop.getDesktop().open(new File("D://Program Files//Genshin Impact//launcher.exe")); } catch(Exception e){ e.printStackTrace(); } } }
原创文章,作者:端木书台,如若转载,请注明出处:https://blog.ytso.com/272249.html