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!!
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
dim fso
set fso=Createobject("scripting.FileSystemObject")
for num=1 to 10
fso.Copyfile "d:\a.txt","z:\a"+Cstr(num)+".txt"
wscript.sleep 3000
next
set fso=nothingOriginally 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?