Winapp2.ini Posted March 28, 2012 Share Posted March 28, 2012 I do my best to sort the file alphabetically (manually). I might try a simply python script to read the ini and write a new one back out with the headers sorted. winapp2.ini additions thread winapp2.ini github Link to comment Share on other sites More sharing options...
Tr3bg0D Posted March 28, 2012 Share Posted March 28, 2012 I counter your request with an alternative. There is a guy with so much spare time he is constantly changing hats - lets ask him to sort the file before it gets posted A quick possibility for you is to change one line of code, at line 50. Original :- IF %TRIM_NAME%==#_FIX.INI CALL :Sort_INI #_H1.TXT #_H2.TXT Suggested (and untested) :- IF %TRIM_NAME%==#_FIX.INI ( CALL :Sort_INI #_H1.TXT #_H2.TXT & EXIT /B ) This change should cause the script to terminate immediately after sorting and replacing the original file. Please let me know if this is good for you. Right now a am quite busy beating a new Windows installation into submission No worries Alan...put it on your backburner. I just made the changes and ran tests. Whether you overwrite or skip, the script terminates at that point. Link to comment Share on other sites More sharing options...
Alan_B Posted March 28, 2012 Author Share Posted March 28, 2012 I do my best to sort the file alphabetically (manually). I might try a simply python script to read the ini and write a new one back out with the headers sorted. Why not use Trim_12 which identifies Volatiles and will sort the full *.ini file before it cuts out any entries. Whilst the initial aim was to create a reduced *.ini, it now allows sorting first, and you can choose to finish with the Full size sorted, not the reduced sorted. Regards Alan Link to comment Share on other sites More sharing options...
Winapp2.ini Posted March 28, 2012 Share Posted March 28, 2012 I will try that out, thanks Alan! winapp2.ini additions thread winapp2.ini github Link to comment Share on other sites More sharing options...
Alan_B Posted March 28, 2012 Author Share Posted March 28, 2012 You are welcome Link to comment Share on other sites More sharing options...
ProPaan Posted January 24, 2013 Share Posted January 24, 2013 one question about trim_12, on my old pc (xp) when i choose at the end to delete #TRIMMER - it deletes it, now on new system (Windows 8) it wont - what could be wrong? Link to comment Share on other sites More sharing options...
Alan_B Posted January 24, 2013 Author Share Posted January 24, 2013 I do not permit UAC to live on my Windows 7. I only briefly activated it to identify and debug issues that UAC was causing other who used my script. Windows 8 is a whole new can of worms which I hope never to bite into I suspect that Windows 8 does not readily tolerate a batch script deleting files and folders. I really hope that WinApp2.ini can sort your problem on his Win 8 machine. Link to comment Share on other sites More sharing options...
Winapp2.ini Posted January 24, 2013 Share Posted January 24, 2013 I do have a win8 box, but the battery is dead. I'll plug it in and let you know my results. winapp2.ini additions thread winapp2.ini github Link to comment Share on other sites More sharing options...
Peter Rabbit Posted January 23, 2015 Share Posted January 23, 2015 Why not use Trim_12 which identifies Volatiles and will sort the full *.ini file before it cuts out any entries. Whilst the initial aim was to create a reduced *.ini, it now allows sorting first, and you can choose to finish with the Full size sorted, not the reduced sorted. Regards Alan Hi Alan_B I have been trying to understand Trim.bat and am confused by the existence of embedded instructions in the file, your Trim_help.txt, and the mention of other versions in this forum, e.g. Trim_12.bat. Mr Winapp.ini (Robbie Ward) pointed me to a pasted version of the file at paste2.org/MH6sCceX as there is a problem downloading it from the Winapp2.com link, but I am unsure if the is your latest version and if it is not, where I can get the latest version. I have experimented with Trim.bat from the paste source on an older computer and it seems to have worked, but I would feel happier if I knew it was the latest version. At the top of the file its says "FILE CREATION 13:52 08/03/2012". Can you or any one help with this query? Thanks I am a power user in some respects, but I have forgotten most of what I used to understand about batch files. Link to comment Share on other sites More sharing options...
Winapp2.ini Posted January 23, 2015 Share Posted January 23, 2015 That is the latest version, i copied my local copy of trim.bat into paste2. I'm not sure why no one can access the .bat files on my site winapp2.ini additions thread winapp2.ini github Link to comment Share on other sites More sharing options...
Moderators Andavari Posted January 24, 2015 Moderators Share Posted January 24, 2015 I'm not sure why no one can access the .bat files on my site Maybe zip them? Could be some security thing via the host, some won't host a .bat file. Link to comment Share on other sites More sharing options...
dvdbane Posted January 25, 2015 Share Posted January 25, 2015 change the extension to txt and ask people to save as bat? Link to comment Share on other sites More sharing options...
Moderators Andavari Posted January 26, 2015 Moderators Share Posted January 26, 2015 change the extension to txt and ask people to save as bat? That's the way it is with for instance some forum software. Link to comment Share on other sites More sharing options...
Tr3bg0D Posted January 26, 2015 Share Posted January 26, 2015 @Winapp2.ini - I thought I gave you and Alan_B the EXE compiled Trimmer-v1.12.exe when we finished this project. Let me know if you do not have it and I can get it to you. PM me for the info. Link to comment Share on other sites More sharing options...
Winapp2.ini Posted January 26, 2015 Share Posted January 26, 2015 I don't recall having gotten a trimmer.exe file. winapp2.ini additions thread winapp2.ini github Link to comment Share on other sites More sharing options...
Winapp2.ini Posted January 26, 2015 Share Posted January 26, 2015 Maybe zip them? Could be some security thing via the host, some won't host a .bat file. They used to work though. Weird that they would change a policy that now breaks some of my site functionality without telling me winapp2.ini additions thread winapp2.ini github Link to comment Share on other sites More sharing options...
Alan_B Posted January 26, 2015 Author Share Posted January 26, 2015 Hi I am quite certain that I always posted the Trim*.bat variants as Trim*.txt variants because Piriform did not allow *.bat updates, with the instruction that after copying / downloading the name should be changed to Trim*.bat. I am absolutely certain my postings were in normal Windows ANSI standard with conventional CR/LF ( 0x0D,0x0A ) style line terminators, and not the horrible unreadable UNIX style variants ( omitting the 0x0D ) which subsequently appeared on the forum Windows powered up in stupid mode over a year ago and confused itself over which HDD possessed which Disk Identity, then automatically resolved the confusion by copying the Disk Identity of the MBR style 960 GB HDD to the GPT style 600 GB HDD, and because the 600 GB is always the first to be ready and becomes Drive 0, and it now had the signature of the 960 GB HDD, and then it saw the 960 GB HDD as DIsk 1 and immediately put Disk 1 OFFLINE due to Disk signature conflict - stupid imbecilic Windows. Windows then started C:\Windows on the 600 GB HDD - and fell flat on its back - legs in the air like a dead cockroach because there was no C:\Windows on that HDD. I had the proper C:\Windows running on the 960 GB HDD within half an hour. Stupid cantankerous Windows will NOT allow me to cancel its folly - it will not allow me to change back to GPT unless I first INIT the drive. All my primary partition image backups were held on the GPT disk - Windows now sees it all as RAW or UNALLOCATED. I always copied my primary backups to both an ESATA and USB connected external drives, so no serious data loss. Unfortunately all my adjustments to TRIM.BAT were created / tested on the 600 GB HDD, and the latest tweaks were not part of any image backup. I now have a superior data recovery tool which can access the "RAW / UNALLOCATED" files, and tomorrow I plan to dig out the the latest Trim bat file. Link to comment Share on other sites More sharing options...
Moderators Andavari Posted January 27, 2015 Moderators Share Posted January 27, 2015 Stupid cantankerous Windows Trademark that line! Link to comment Share on other sites More sharing options...
Alan_B Posted January 27, 2015 Author Share Posted January 27, 2015 Here again is Trim_12.txt Simply download and change the name to Trim_12.BAT and you have the last version that I finalized Regards Alan. trim_12.txt Link to comment Share on other sites More sharing options...
login123 Posted January 28, 2015 Share Posted January 28, 2015 Thanks, Alan. Got it. The CCleaner SLIM version is always released a bit after any new version; when it is it will be HERE :-) Pssssst: ... It isn't really a cloud. Its a bunch of big, giant servers. Link to comment Share on other sites More sharing options...
Tr3bg0D Posted January 28, 2015 Share Posted January 28, 2015 @ Alan_B & Winapp2.ini I just sent both of you the same message with the link to Trimmer-v1.12.exe. For some reason I could not include both of you in the same message. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now