VBScript uses the FileSystemObject for working with files.
Visit http://www.w3schools.com for useful information.
If you just want to merge files then you could just use the
command line's "copy" as in:
copy /b 1.txt+2.txt merged
or
copy /b *.txt merged
There are some significant differences between VBA and VBScript.
These are explained in the Windows Script 5.6 Documentation,
SCRIPT56.CHM, which is probably already on your computer, and which
can be downloaded from the following MSDN search link:
http://www.microsoft.com/downloads/results.aspx?pocId=&freetext=chm&DisplayLang=en
Look in the Contents tab:
-Windows Script Technology
--VBScript
---User's Guide
----VBScript Features not in Visual Basic for Applications
----Visual Basic for Applications Features Not In VBScript
-Paul Randall
I've adapted my code using OpenTextFile method on FileSystemObject. Needs
perfecting, but will work.
I can't just append the entire files unfortunately, I will be filtering out
certain records.
Thanks again.
[snip]
Do you still have a problem?
Post a clear problem statement along with your code and any errors.