Hi All,
I have a question in VB script as i am new to scripting.
I have 15 text files like t1.txt,t2.txt....t15.txt.
Each text files have some account numbers in them. For ex
t1.txt has 25 account numbers like 12300,12301..12325 and similarly for t2.txt, t3.txt...t15.txt.
I have to combine the contents in all text files into one single text file.
Can someone help me with this coding. The idea i have is
Open the folder that contains these text files.
Open the first text file.
Read the content of the first text file and write it to new text file(say total.txt)
Open the second text file.
Read the content of the second text file and write it to total.txt
Repeat the same procedure till you hit the last text file.
I have a question in VB script as i am new to scripting.
I have 15 text files like t1.txt,t2.txt....t15.txt.
Each text files have some account numbers in them. For ex
t1.txt has 25 account numbers like 12300,12301..12325 and similarly for t2.txt, t3.txt...t15.txt.
I have to combine the contents in all text files into one single text file.
Can someone help me with this coding. The idea i have is
Open the folder that contains these text files.
Open the first text file.
Read the content of the first text file and write it to new text file(say total.txt)
Open the second text file.
Read the content of the second text file and write it to total.txt
Repeat the same procedure till you hit the last text file.