Merging All text files into one
Posted: Sat Oct 28, 2006 10:21 pm
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.
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.