中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-04 02:24
48,038 topics / 350,123 posts / today 0 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » Question: How to copy files continuously without interruption
Printable Version  746 / 8
Floor1 yming Posted 2007-04-05 05:59
新手上路 Posts 3 Credits 8
Experts: how can I copy a.txt on drive D to drive Z once every minute, with the generated files named a1.txt, a2.txt, a3.txt ........ Can this be done with a batch file? How do I do it, thanks!!
Floor2 wudixin96 Posted 2007-04-05 06:41
银牌会员 Posts 931 Credits 1,928

This copies once every 3 seconds.
Only copies 10 times.
Floor3 holee Posted 2007-04-05 10:06
初级用户 Posts 27 Credits 53
Reply #2, are you sure your command doesn't need support from an external program?
Floor4 wudixin96 Posted 2007-04-05 10:46
银牌会员 Posts 931 Credits 1,928
No need. Just try it and you'll know, right??
Floor5 bw070 Posted 2007-04-05 13:37
中级用户 Posts 137 Credits 292
Reply #2, you're really impressive. This section is asking about batch files.
Isn't what you posted ASP?
Floor6 lxmxn Posted 2007-04-05 21:32
版主 Posts 4,938 Credits 11,386
Originally posted by bw070 at 2007-4-5 00:37:
Reply #2, you're really impressive. This section is asking about batch files.
Isn't what you posted ASP?


This is the "DOS Batch Files & Scripting Technology" section, any script can be discussed here.

That's a VBS script..
Floor7 yming Posted 2007-04-05 22:34
新手上路 Posts 3 Credits 8
Can this be done with a simple *.bat batch file written in Notepad?
Floor8 flyinspace Posted 2007-04-05 23:30
银牌会员 Posts 517 Credits 1,206
Yes, but can I ask what you want to do with it?
Floor9 yming Posted 2007-04-07 02:16
新手上路 Posts 3 Credits 8
My IP storage often drops the connection, so I want to keep copying files into it continuously, to see whether there's any pattern to when it drops.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023