batch-file - windows bat 文件错误

标签 batch-file

我尝试在网络共享上启动 BAT 文件,但出现此错误:

'\\dev\applets'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.

有解决方法吗?

谢谢!

最佳答案

你有机会先挂载网络共享吗?

net use \\dev\applets z:
z:\mybatchfile.bat

关于batch-file - windows bat 文件错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5949775/

相关文章:

java - 在 Java 程序中在远程计算机上运行批处理文件

用于打开和编辑多个 Powerpoint 文件的 VBA

java - 用于编译和运行java东西的.bat文件

windows - 从 ipconfig 获取 MAC 和 DHCP 服务器

windows - 批处理脚本条件下的 PowerShell 命令

windows - 如何从文本文件中读取值,然后查找并替换 xml 文件中的值?

windows - 在外部exe程序上跳过 'press any key to continue'

windows - 查找 "- "是否在目录名称中(批处理)

git - Windows 下自动提交 git

linux - 如何在window和linux批处理文件中获取二级父目录