如何将文件从一个系统复制到另一个系统 [英] how to copy file from one system to another system

查看:139
本文介绍了如何将文件从一个系统复制到另一个系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好



请告诉我如何在2个不同的系统上复制perticuler文件。

表示在处理文件时应该复制一份在系统A和系统B的一个副本



两个系统都通过LAN连接,所有其他功能,包括操作系统和安装的软件都是相同的...



谢谢

解决方案

复制命令两次:一次将文件复制到位置A并且一次将其复制到位置B.



 File.Copy(  SourceFilePath  DestinationAPath,< span class =code-keyword> True )
File.Copy( SourceFilePath DestinationBPath True )


Hi all

Please tell me how to copy perticuler file at 2 different system.
means while coping a file one copy should be in system A and one copy at system B

Both the systems are connected through LAN and all other features including OS and software installed are same for both...

Thank you

解决方案

Give the copy command twice: once to copy the file to location A and once to copy it to location B.

File.Copy("SourceFilePath", "DestinationAPath", True)
File.Copy("SourceFilePath", "DestinationBPath", True)


这篇关于如何将文件从一个系统复制到另一个系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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