Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将当前路径移动到某个网络 UNC 密码保护路径。我需要通过批处理脚本来完成。如何移动到该 UNC 位置并通过脚本输入其密码?我想这样做pushd \\my\path但是如何输入用户名和密码?
pushd \\my\path
使用cmdkey或net use
cmdkey
net use