选择客户目录 [英] select customer directories

查看:78
本文介绍了选择客户目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好..,



我在以下路径中的源计算机(pc1)上有大约1000个目录

D:\ BackUp \\\

Exp:D:\ BackUp \\\\\\

D :\ BackUp \1\2\002

D:\ BackUp \\\\003



每个最后一个文件夹包含图像文件

我想通过闪存自动将此目录复制(更新pc2)到另一台PC



但是



以前曾经手动将一些目录从pc1复制到pc2

因为每个文件夹都包含图像文件,所以将所有目录复制到pc2会花费太多时间

所以我应该只复制pc2上的目录pc2中不存在的目录

我必须每天重复它并且非常令人沮丧

如何做到 .....

感谢所有

hi all ..,

I have about 1000 directories on the source computer (pc1) in the following path :
D:\BackUp \1\2
Exp : D:\BackUp \1\2\001
D:\BackUp \1\2\002
D:\BackUp \1\2\003

each last folder contains the image file
I want to copy(update pc2) this directories to the another pc Automatically by flash memory

But

Previously once manually copy some directories from pc1 to the pc2
Because Each folder contains the image file , copy all the directories to pc2 act too much time
So I should just copy the directories on the pc2 That does not exist in the pc2
I have to repeat it every day and its very frustrating
How to do it .....
Thanks all

推荐答案

假设您使用的是Windows平台,您可以编写一个cmd文件(也就是批处理文件)来运行各种XCOPY命令 http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us /xcopy.mspx?mfr=true [ ^ ]

例如
Assuming that you are using a Windows platform, you could just write a cmd file (aka batch file) to run various XCOPY commands http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/xcopy.mspx?mfr=true[^]
e.g.
xcopy \\pc1\d


\Backup \ *。* \\pc2 \d
\Backup\*.* \\pc2\d


\ Backup / E / I / R / Y / M
\Backup /E /I /R /Y /M

(替换\\pc1 \d

(substitute \\pc1\d


这篇关于选择客户目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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