Page 1 of 1

Merging All text files into one

Posted: Sat Oct 28, 2006 3:21 pm
by msalperen
Let's say you have gathered a lot of information in text format and you want to combine them all into a master text file. Here is the solution, copy the script in the second gray area found within this page:

http://www.microsoft.com/technet/script ... y1201.mspx

then save it with vbs file exension, change this parameter:

Win32_Directory.Name='C:\Logs' to your download folder location

then run the script by double clicking. When it's done a file with the name 'output' will appear in the same folder with your script file, containing all your text files.

I did not try the solution for html files, may or may not work with them. Use with care, I'm not responsible for unexpected results though it worked like a charm for me.

Posted: Mon Oct 30, 2006 8:20 am
by Tech Support
Hi,

Thanks for the tip msalperen!

This website from Microsoft is a great resource for Visual Basic Scripting.

Daniel Kerr
iOpus Support