运维网's Archiver
论坛
›
Windows Server
› Java windows中设置文件只读
阿牛
发表于 2018-6-22 08:04:32
Java windows中设置文件只读
public static Process executeCmd(String command)
{
Process p = null;
try
{
p = Runtime.getRuntime().exec(CMD_SHORT + command);
}
catch (IOException e)
{
e.printStackTrace();
}
return p;
}
页:
[1]
查看完整版本:
Java windows中设置文件只读