Jump to content

Defraging sysoc.inf in your SOURCESS


Geej

Recommended Posts

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 switch

3) Remove #9 alternative script

4) Add defrag runtime when use with /nobackup via DefragSysoc.log (DefragSysoc.exe generally runs under < 1 sec)

5) Icon change

6) Reload attachment: HFSLIP_POST_DefragSysoc.cmd (minor fix by removing exit command)

Link to comment
Share on other sites


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.

This 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...