Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Geej

Defraging sysoc.inf in your SOURCESS

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)

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...