在需要上传文件的电脑上使用管理员权限运行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
windows系统通过CMD将文件copy到远程电脑
原文:http://www.cnblogs.com/yk1028/p/7902801.html