最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

windows系统下 java关闭指定的exe应用程序

业界 admin 47浏览 0评论

其实就两句代码:

Runtime runt = Runtime.getRuntime();

runt .exec("cmd.exe /C start wmic process where name='cmd.exe' call terminate");

 

其实就两句代码:

Runtime runt = Runtime.getRuntime();

runt .exec("cmd.exe /C start wmic process where name='cmd.exe' call terminate");

 

发布评论

评论列表 (0)

  1. 暂无评论