SMB命令连接

Zss 发表于:

net use * /del /y
断开smb连接 运行两次

net view \\3333–1-2345-6789-1111.ipv6-literal.net
浏览文件

net use \\3333–1-2345-6789-1111.ipv6-literal.net “test” /user:”test”
建立连接

copy \\3333–1-2345-6789-1111.ipv6-literal.net\Smb\smb-server-1\test.exe C:\Auto-Test\Data\Smb\smb-client-1\test.exe

copy C:\Auto-Test\Data\Smb\smb-client-2\test.exe \\3333–1-2345-6789-1111.ipv6-literal.net\Smb\smb-server-2\test.exe
复制文件