当前位置: 技术问答>linux和unix
这个 unix 命令如何改为 dos 命令?
来源: 互联网 发布时间:2014-11-30
本文导语: String cmd[]={"rm","-rf",home}; //Unix command | 楼上的回答错误 home 是个变量 exec(String command, String[] envp, File dir) Executes the specified string command in a separate process with the specified environment and workin...
String cmd[]={"rm","-rf",home}; //Unix command
|
楼上的回答错误
home 是个变量
exec(String command, String[] envp, File dir)
Executes the specified string command in a separate process with the specified environment and working directory.
home 是个变量
exec(String command, String[] envp, File dir)
Executes the specified string command in a separate process with the specified environment and working directory.
|
-r recursive // 删除子目录
-f force // 强行删除
-f force // 强行删除