windows系统通过CMD将文件copy到远程电脑

在需要上传文件的电脑上使用管理员权限运行cmd,输入
runas /user:administrator cmd 回车
net share IPC$

net use \\IP地址\ipc$ password /user:username
xcopy note.ejs \\IP地址\C$\clothes\views /Y
net use \\IP地址\ipc$ /delete

posted @ 2017-11-27 09:58  yankai  阅读(6006)  评论(0编辑  收藏  举报