摘要:
Runtime.getRuntime().exec("cmd /c del c:\\a.doc"); //Runtime.getRuntime().exec("notepad"); //Runtime.getRuntime().exec("cmd /c start c:\\a.doc"); //Runtime.getRuntime().exec("cmd /c start http://www.baidu.com"); Runtime.getRuntime().exec("cmd /k start c:\ 阅读全文
摘要:
1. gpedit.msc-----组策略 2. sndrec32-------录音机 3. Nslookup-------IP地址侦测器 4. explorer-------打开资源管理器 5. logoff---------注销命令 6. tsshutdn-------60秒倒计时关机命令 7. lusrmgr.msc----本机用户和组 8. services.msc---本地服务设置 9. oobe/msoobe /a----检查XP是否激活 10. notepad--------打开记事本 11. cleanmgr-------垃圾整理 12. net st... 阅读全文
摘要:
System.getRuntime().exec("bash < aaa.sh");或者Runtime.getRuntime().exec("gedit "+aaa.sh); 阅读全文