How to combine two files using command

Some times we need to have more log files to analyze(web log files)and makes reports based on that.In that case we can combine these log fils using copy command(logically adding)

Volume in drive C has no label.
Volume Serial Number is 2723-8807

Directory of C:\wlogs

12/19/2010  03:35 PM       169,397,246 w2access_log-20101219
12/26/2010  03:35 PM        89,439,167 w2access_log-20101226
12/19/2010  02:55 PM       169,045,629 w3access_log-20101219
12/26/2010  02:55 PM       162,830,384 w3access_log-20101226
12/19/2010  03:10 PM       169,457,769 w4access_log-20101219
12/26/2010  03:10 PM       162,736,891 w4access_log-20101226
6 File(s)    922,907,086 bytes
2 Dir(s)  18,444,406,784 bytes free

C:\wlogs>copy  w3access_log-20101219+w3access_log-20101226 w3miss_log
1 file(s) copied.

C:\wlogs>copy w2access_log-20101219+w2access_log-20101226 w2miss_log
1 file(s) copied.

C:\wlogs>copy w4access_log-20101219+w4access_log-20101226 w4miss_log
1 file(s) copied.

Note :- There is a nice tool to read large text files

Notepad ++


Posted on April 8, 2011, in General, Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: