将文件复制到远程桌面驱动器 [英] copy file to remote desktop drive

查看:67
本文介绍了将文件复制到远程桌面驱动器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将一个文件从我的本地 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

这篇关于将文件复制到远程桌面驱动器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆