如何使用java在windows资源管理器中打开映射的网络驱动器
我共享了网络驱动器。在windows中,我们将使用run命令如何使用java在windows资源管理器中打开映射的网络驱动器,java,Java,我共享了网络驱动器。在windows中,我们将使用run命令(例如“\\ipAddress”)打开网络驱动器。类似的东西,我需要通过java在windows资源管理器中打开网络驱动器 Runtime.getRuntime().exec("\\ipAddress"); 我应该这样做 应该这样做。或者可能是Runtime.getRuntime().exec(新字符串[]{“explorer”,“\\localhost”})或可能Runtime.getRuntime().exec(新字符串[]{“e
(例如“\\ipAddress”)
打开网络驱动器。类似的东西,我需要通过java在windows资源管理器中打开网络驱动器
Runtime.getRuntime().exec("\\ipAddress");
我应该这样做
应该这样做。或者可能是
Runtime.getRuntime().exec(新字符串[]{“explorer”,“\\localhost”})代码>或可能Runtime.getRuntime().exec(新字符串[]{“explorer”,“\\localhost”})代码>