虽然结了,不过刚好昨晚做了一个
sub ConFunc(desdination as string,startFile as integer,endFile as integer)
dim i as integer
dim sourcePath as string
dim ch as string
desdination="e:\desdination\" & desdination & ".txt"
open desdination for append as #1
for i=startFile to endFile
sourcePath="e:\source\" & i & ".txt" '存放文件根据自己情况
open sourcePath for input as #2
do while not eof(2)
ch=input(1,#2)
print #1,ch
loop
close #2
next
close #1
end sub