theavayaguy
Technical User
I have this file:
---------- REPORT_DISP_CAP__12-22-2006.TXT
12/22/2006 10:10 AM - Data Export
12/22/2006 10:38 AM - Data Export
12/22/2006 11:08 AM - Data Export
12/22/2006 11:38 AM - Data Export
12/22/2006 0:08 PM - Data Export
12/22/2006 0:38 PM - Data Export
---------- REPORT_DISP_CAP__12-22-2006.TXT
Logged-In ACD Agents: 908 892 1800
Logged-In ACD Agents: 943 857 1800
Logged-In ACD Agents: 943 857 1800
Logged-In ACD Agents: 988 812 1800
Logged-In ACD Agents: 914 886 1800
Logged-In ACD Agents: 985 815 1800
The first date line matches with the first "logged-in..." line. And so on down the file.
I want to get both values which related to each other on the same line, into a new file. e.g.
12/22/2006 10:10 AM Logged-In ACD Agents 908 892 1800
Apply this to the entire file.
Can this be done with a dos batch file?
Thanks!
---------- REPORT_DISP_CAP__12-22-2006.TXT
12/22/2006 10:10 AM - Data Export
12/22/2006 10:38 AM - Data Export
12/22/2006 11:08 AM - Data Export
12/22/2006 11:38 AM - Data Export
12/22/2006 0:08 PM - Data Export
12/22/2006 0:38 PM - Data Export
---------- REPORT_DISP_CAP__12-22-2006.TXT
Logged-In ACD Agents: 908 892 1800
Logged-In ACD Agents: 943 857 1800
Logged-In ACD Agents: 943 857 1800
Logged-In ACD Agents: 988 812 1800
Logged-In ACD Agents: 914 886 1800
Logged-In ACD Agents: 985 815 1800
The first date line matches with the first "logged-in..." line. And so on down the file.
I want to get both values which related to each other on the same line, into a new file. e.g.
12/22/2006 10:10 AM Logged-In ACD Agents 908 892 1800
Apply this to the entire file.
Can this be done with a dos batch file?
Thanks!