标签: networking share net-use
我需要对这样的脚本使用NET USE命令;
@echo off net use \\SERVER/SHARE /user:<domain\username> password /PERSISTENT:NO start \\SERVER/SHARE exit
,但没有规定哪个user和password,因为连接它可能是几个不同的用户。
user
password