如何通过命令提示符将一个文件从一个系统移动到同一网络上的另一个系统 [英] How to move one file from one system to another system on the same network via command prompt

查看:86
本文介绍了如何通过命令提示符将一个文件从一个系统移动到同一网络上的另一个系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要通过命令提示将一个文本文件从我的系统移动到同一网络上的服务器系统。如何做到这一点?有什么想法吗?

推荐答案

请看我对这个问题的评论。但是,它们的关键在于:如果您在远程系统上没有可以参与操作的服务,则无法移动任何内容。在LAN上,典型的服务是文件共享服务(问题的风格强烈暗示您使用的是Windows系统)。在这种情况下,使用共享目录从/向主机的移动操作与使用本地文件系统的操作没有区别。删除文件名称可以是UNC名称。请参阅:

http://en.wikipedia.org/wiki/Path_ %28computing%29#Uniform_Naming_Convention [ ^ ],

http://en.wikipedia.org/wiki/Filename [ ^ ]。



-SA
Please see my comment to the question. However, they key is this: you cannot move anything if you don't have some service on the remote system which can participate in the operation. On a LAN, a typical service is a file sharing service (the style of your question strongly suggests that you are using a Windows system). In this case, move operation from/to the host with a shared directory is not different from the operations with your local file system. The remove files names can be UNC names. Please see:
http://en.wikipedia.org/wiki/Path_%28computing%29#Uniform_Naming_Convention[^],
http://en.wikipedia.org/wiki/Filename[^].

—SA


hi Gayathri,您可以使用复制命令执行此操作。您需要使用服务器IP和驱动器名称访问网络驱动器
hi Gayathri, You can do that by using the Copy command. You need to access the network drive with the server IP and drive name with


。这是一个例子



. Here is an example

C:\Users\Gayathri>COPY D:\FileToBeMoved.txt \\192.168.10.5\D


这篇关于如何通过命令提示符将一个文件从一个系统移动到同一网络上的另一个系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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