批处理文件,将文件复制到其他位置? [英] batch file to copy files to another location?
本文介绍了批处理文件,将文件复制到其他位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有可能创建一个批处理文件到一个文件夹复制到另一个位置,每次我登录时,或当文件夹被更新?
is it possible to create a batch file to copy a folder to another location everytime I login, or when the folder is updated?
它可以用VB编写或Java aswel如果没有一个简单的解决方案。
It could be written in vb or java aswel if not an easy solution.
任何想法?谢谢
推荐答案
有两种方法:
- 当你登录:你可以创建一个
copy_my_files.bat
文件到您的所有程序>与此内容(它的一个纯文本文档)启动
文件夹:-
XCOPY C:\\文件夹\\ *。* D:\\ another_folder \\
- When you login: you can to create a
copy_my_files.bat
file into yourAll Programs > Startup
folder with this content (its a plain text document):xcopy c:\folder\*.* d:\another_folder\.
这篇关于批处理文件,将文件复制到其他位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
-
查看全文