Geej Posted April 30, 2010 Author Share Posted April 30, 2010 While waiting for Yzöwl reply , I decided to try to improve this autoit script.Update DefragSysoc.exe (using autoit new version: 3.3.6.1)Changes:1) Now able to handle mulitple Components sections using regular expression: $sCmpList=StringRegExp (FileRead ($FHopen),'(.*=[^\d].*,\s?\d)',3) - User do not have to pre-edit sysoc.in_ in SOURCE. - Pls feedback if the regular expression match/miss some strings that is not part of [Components] items.2) Remove /check switch3) Remove #9 alternative script4) Add defrag runtime when use with /nobackup via DefragSysoc.log (DefragSysoc.exe generally runs under < 1 sec)5) Icon change6) Reload attachment: HFSLIP_POST_DefragSysoc.cmd (minor fix by removing exit command) Link to comment Share on other sites More sharing options...
Yzöwl Posted April 30, 2010 Share Posted April 30, 2010 I'd forgotten all about this, below is an attachment containing the script as a standalone.Just drag and drop the file to be tidied onto it, (or give the file as a parameter)The file you give it as a parameter can either be cabbed or otherwise and should be returned to that format within the script.Dfrg_Inf.zipThis is not designed to work on all inf/ini files due to 'poison' characters and can take a while due to limitations in the language used. It was used in the past however on my txtsetup.sif which as you know is a very large text file. 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