This job reads a hypothetical log file, counts the lines that contain comments and the lines that contain actual data and creates a new log file by removing the comment lines.
In this example, comment lines are considered the lines that start with the # character. The downloadable zip file that contains the job also contains an example log file.
(The example job is the XML file included in the zip file. To import a job and run it in WinAutomation you must choose File -> Import Job from the WinAutomation Console's main menu)
Variables used in this example:
Total Automation Support
Have your automation jobs built for free! Check our Total Automation Support now.