Winapp2.ini additions in CCleaner Posted May 22 1 hour ago, APMichael said: @Nergal CSGalloway's question was not directly related to Winapp2.ini, but to a batch script on GitHub. Unfortunately, I have very little time for other things at the moment, but with a little trick I was able to insert the leading zeros quickly. You can download the updated batch script on GitHub. Excuse me, but I don't quite understand the line number question. Which line number should be output where exactly? And what use is the information about the line number then? Since the batch script skips all blank lines, the line numbers would not match those in Winapp2.ini anyway. Please keep in mind that this is only a simple batch script. Compared to a "real" programming language it has very limited functionality and performance. The change I see is SET "wais_rule=0000%wais_entry%" and I wanted the entry to be padded out to the length of the wais_entries so if wais_entries was 3105 then entry 1 would be 0001, 10 would be 0010, 100 would be 0100, and 1000 would not be padded out. The line numbering question has to do with ECHO !wais_line! >>"%wais_folder%\preamble.txt" I would just like to output the line number from the INI file before the wais_line. Something like: ECHO nLine | !wais_line! >>"%wais_folder%\preamble.txt" where nLine is the line numbere from the INI file being read.