问题描述
我想将一个文件从我的本地 C:\filename.png 复制到我通过远程桌面的 C:\ 驱动器连接到的远程计算机.
I want to copy a file from my local C:\filename.png to the remote computer to which I am connected via remote desktop's C:\ drive.
是否可以使用 powershell 或任何其他终端命令进行复制?
Is it possible to copy using powershell or anyother terminal command?
我使用的是 Windows 7(本地 PC)---远程桌面(Windows Server 2003)
I am using windows 7 (local PC) --- Remote Desktop (Windows Server 2003)
推荐答案
如果您的主机的 c: 驱动器被注入到终端服务会话中,它只会在远程会话中获得一个新的驱动器号.
If your host's c: drive is injected into a terminal services session, it just gets a new drive letter in the remote session.
在我的网络上,我主机的驱动器被注入到 VM 中,C: 变成 M:.
On my network, my host machine's drives are injected into a VM and C: becomes M:.
那么在这种情况下,在远程会话中:
So in that case, in the remote session:
复制 c:\file.png m:\png
但也许是更好的方式 - 来自您的主机:
BUt perhaps a beter way - from your host:
复制 \\remote\c$\file.png c:\file.png
这篇关于将文件复制到远程桌面驱动器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!