parsing log files
Posted: 14 Dec 2017 08:53
hi
I have 100's of .log files in a folder E:\logs
my request is for a batch file that reads a keywords.txt file
the keywords.txt file contain 2 column
1 keyword to search for and 2 corresponding folder to be created.
ie..
MBD MOTHERBOARD
RAM MEMORY
HDD HARDDRIVE
AUDIO SOUNDCARD
........and so on
the batch file should search .log files for keywords and then create corresponding folder mentioned against each keyword
and copy the .log files to them
source directory E:\logs
destination directory g:\sorted
please help me..
thanx in advance..
joe
I have 100's of .log files in a folder E:\logs
my request is for a batch file that reads a keywords.txt file
the keywords.txt file contain 2 column
1 keyword to search for and 2 corresponding folder to be created.
ie..
MBD MOTHERBOARD
RAM MEMORY
HDD HARDDRIVE
AUDIO SOUNDCARD
........and so on
the batch file should search .log files for keywords and then create corresponding folder mentioned against each keyword
and copy the .log files to them
source directory E:\logs
destination directory g:\sorted
please help me..
thanx in advance..
joe