stalxed
-
Posts
5 -
Joined
-
Last visited
Posts posted by stalxed
-
-
I use this command:
"C:\Program Files\CCleaner\CCleaner.exe" /clean "C:\ccleaner.txt"How can I programmatically analyze this log?
Example of log:
SummaryWindows Explorer - Recent Documents 2 KB 2 files System - Windows Log Files 1 KB 1 files Firefox - Internet Cache Skipped Firefox - Internet History Skipped Firefox - Session 1 KB 1 files ------------------------------------------------------------------------------------------C:\Documents and Settings\Administrator\Recent\ccleaner.txt.lnk 1 KBC:\Documents and Settings\Administrator\Recent\logs.lnk 1 KBC:\WINDOWS\system32\wbem\Logs\wbemcore.log 1 KBFirefox Internet Cache cleaning was skipped. Firefox Internet History cleaning was skipped. C:\Documents and Settings\Administrator\Application Data\Mozilla\Firefox\Profiles\wxgns381.default\sessionstore.js 1 KB
How we can see, there is an error. Some files is missing.I need programmatically to analyze the file, and if any skipped files or other troubles, then to find out.I have developed the following algorithm:- The first line must be the word Summary. If it is not passed in the negative analysis.
- Check whether there is a separator:
------------------------------------------------------------------------------------------
If it is not passed in the negative analysis. - Performs an analysis of each line between the summary and the separator. As follows: split a string by the symbol tab, if the last element of the word Skipped, then the negative analysis.
- If the analysis does not work is not one of the the negative conditions of the analysis, then the analysis went positive.
Questions:
- What do you think of this algorithm for analysis of the log file?
- Maybe I'm missing something?
- Maybe except for skipped files there exceptions?
-
I bought CCleaner Business Edition and tested on my home computer.
Everything works great!MrV, thank you very much for your help!
Sorry, that created this theme, you can close it. -
The new job, I set up computers. Now home.
I do not exclude that previous workers have installed a pirated copy.
If so, I should buy a version that supports these commands exactly.
Could you check with yourself that these commands really work?
And what version I must buy(cheapest where these options are available)?
Just do not want to buy, to see that these commands do not work and lead a long correspondence with your tech support and wait for fix bugs. -
I am use Technician Edition 4.10.4570
A am use this commands:
C:\Program Files\CCleaner>ccleaner.exe /update
C:\Program Files\CCleaner>ccleaner.exe /clean "log.txt"
C:\Program Files\CCleaner>ccleaner.exe /analyze "log.txt"And absolutely nothing happens, the program does not start.
This command CCleaner.exe /AUTO works fine! But me need log file!
Documentation (described there, it should work): http://www.piriform.com/docs/ccleaner/advanced-usage/command-line-parameters
Please tell us which version you must buy to these options worked.
I need it right here and now, just tell what version of works in which the editorial board and where to buy.
How to analyze the log
in CCleaner
Posted
Are there others?