Network Solutions Logo

Hey, are you available? Enter your domain name here and find out.

Now you can register your domain here at special price!

 EXCLUSIVE
CleanINI (First Beta) for OS/2
Tested on Warp 4.5 + FP14

 Photo above shows CleanINI files inside @Macarlo's Warp 4.5+FP14 OS/2 prompt

In Affiliation CNET News.com with CNET, Inc.

=@MACARLO MICROSOFT=  =@MACARLO YAHOO=  =@MACARLO WEBALIAS=  =@MACARLO ALTAVISTA=

 


In Affiliation with Beyond.com

 By @Macarlo
Team OS/2 Registered
Registered user of 212 OS/2 shareware
Screenshots by registered Embellish

 Hi All.
I just tested here on my OS/2 Client Warp 4.5 + FixPak14 the first beta of CleanINI, a nice tool developed by
Carsten Arnold. Using this fine freeware you can clean quickly and easy all incorrect entries for your Desktop. I encourage you to visit Carsten Home at:

http://home.t-online.de/home/C.Arnold/e

...where you can download this one (cleanini54.zip, 96.6KB) and anothers fine pieces of software developed for your OS/2 Warp, the most secure and reliable 32 bits operating system currently available in all the world. In the photo below you can see CleanINI files inside my FileStar/2:

To run this tool simply create a directory for it, e.g. CLEANINI, (I used a temporary directory for this test) and click CleanINI.exe inside your preferred file manager, or enter cleanini into an OS/2 prompt in the CleanINI directory, using the appropriate parameter, and that is all. I cleaned my INIs fine, without problems, rebooted my machine and in few seconds I'm running Warp 4.5 + FP14 once again without any troubleshooting! In the next photo below you can see CleanINI cleaning my INIs:

Note that in this photo (above) you can see CleanINI examining just the entries for my quick FixPak14 installation, performed last month. Here is a secure program: CleanINI don't crashes your system, like some tools available for OS/2 if the user have not experience with these tasks. In the next photo below you can see CleanINI after the cleaning task performed on my Warp:

CleanINI deletes all Handles in the os2sys.ini of any objects not being used. Additionally it can delete unnecessary PM_Workplace:FolderPos, PM_Abstract:FldrContent, PMWP_ASSOC_TYPE, PMWP_ASSOC_FILTER, PMWP_ASSOC_CHECKSUM and PM_Workplace:Startup.

 

Technical Information


CleanINI Version 0.54 beta by Carsten Arnold
1.9.2000

Translated by Babelfish.

This Tool does delete all Handles in the os2sys.ini by any objects to not be used.
Additionally it can be deleted unnecessary PM_Workplace:FolderPos,
PM_Abstract:FldrContent, PMWP_ASSOC_TYPE, PMWP_ASSOC_FILTER,
PMWP_ASSOC_CHECKSUM and PM_Workplace:Startup.

ATTENTION, with the deletion of PM_Workplace:FolderPos,
PM_Abstract:FldrContent, PMWP_ASSOC_TYPE, PMWP_ASSOC_FILTER,
PMWP_ASSOC_CHECKSUM and PM_Workplace:Startup should one be very
careful.

For this into the os2.ini the following Applications on Handles are examined:

PMWP_ASSOC_TYPE
PMWP_ASSOC_FILTER
PMWP_ASSOC_CHECKSUM
PM_Workplace:Startup
PM_Abstract:FldrContent
PM_Abstract:Objects
PM_Workplace:FolderPos
PM_Workplace:Location
PM_Workplace:Templates

The use is quite simple.

No parameters and the program puts immediately loosely, i.e. it scanns, lists
everything on the display and writes a log file CleanINI.log. Modifications are
not made here yet.

With the parameter /c the same occurs as above, only beforehand a Backup is
written into a file Backup.ini, is this already available it in Backup0.ini is
renamed and a new Backup.ini created. That can be done up to the fourth
generations, i.e. there can be max. a Backup2.ini.
If this is available, she is deleted.

Then scanned, the modifications into the os2sys.ini is written and the WPS is
again started (if /restart specified).

Only the Handles becomes secured. If deleting by
PM_Workplace:FolderPos, PM_Abstract:FldrContent, PMWP_ASSOC_TYPE,
PMWP_ASSOC_FILTER, PMWP_ASSOC_CHECKSUM or
PM_Workplace:Startup permitted, also these become saved.

If it should come to problems, can be written with the parameter /rest the
Handles from the Backup.ini again back into the os2sys.ini. Afterwards again a
WPS restart is made (if /restart specified).  

The Restore functioned, I would protect however nevertheless the INIs
beforehand again; -)

Here again the possible parameters:

/Resp:file  Reponse file
/DelFldPos  enable delete of PM_Workplace:FolderPos
/DelFldCont enable delete of PM_Abstract:FldrContent
/DelMisc    enable delete of PMWP_ASSOC_TYPE, PMWP_ASSOC_FILTER,
            PMWP_ASSOC_CHECKSUM and PM_Workplace:Startup
/DelAll     parameters /DelFldPos, /DelFldCont and /DelMisc
/multipass  The scanning of handles works in more as one passes.
            So it can be more deleted.
/remote:x   if x=delete handles of remote files are deleted
            if x=ignore handles of remote files are ignored
/Restart    restart WPS after changes of Handles
/c          create backup, write changes to INI and make WPS-restart
/Log:file   write screen output to file also
/Cols:n     Changes the count of columns on screen (only in VIO-window).
/Rows:n     Changes the count of rows on screen (only in VIO-window).
/Logdel     Shows and logs only handles which removed.
            as default all handles are listed
/Nologo     Display no logo.
/back       force backup if /c not specified
/rest       restore from backup and restart WPS
/?          Show this screen

The Response file can contain three sections. These can in any order occur, may
however only once occur.

The sections begin with a keyword.
The following keywords are possible:
[Parameters]
[Handles]
[FolderPos]

Upper and lower case letters is all the same.

In section [Parameters] the same parameters can be indicated as on the command
line. A parameter however only either on the command line or in the file. Lines
with # at the start are ignored.

In section [Handles] one can indicate as for scanning of Handles as file objects
to be proceeded is. Normally all Handles is deleted except those by drives.
However only, if they are not used in the os2.ini. In the section [Handles] can be
indicated now per line a path, followed by the keyword "delete" or "ignore".
Paths with blanks must be included in "". Wildcards as * and ? are
possible. Upper and lower case letter is not considered.

In section [FolderPos] one can indicate which PM_Workplace:FolderPos to folder pos
always deleted or from an automatic deletion to be excluded be supposed. The
structure and parameter are as with [Handles].

For PM_Abstract:FldrContent, PMWP_ASSOC_TYPE,
PMWP_ASSOC_FILTER, PMWP_ASSOC_CHECKSUM and I will insert
occasionally further sections to PM_Workplace:Startup.


Example for Response-File:

[Parameters]
/cols:210
/DelFldPos /multipass /restart /c

[Handles]

\\SERVER09\SERVER\APP\OS2                   ignore
\\SERVER09\SERVER\APP\OS2\EURAPM2           del
N:\PFADE\DLL\CATABLE.DLL                    del
G:\COMM\TCPIP\SOUTHSIDE\PMINEWS\HASH.OUT    del
G:\COMM\TCPIP\SOUTHSIDE\PMINEWS             del
G:\COMM\TCPIP\SOUTHSIDE*                    del

[FolderPos]

G:\COMM\FAXWORKS\FAXDAT\FX000???.FAX    del
G:\DEVELOP\IBMCPP\SAMPLES\TOOLKIT\**    del
I:\DevCon\*    del
H:\QUELLEN\*.*    del

CONTACT AUTHOR

Carsten Arnold
C.Arnold@Transnet.de

Web site:  http://home.t-online.de/home/C.Arnold

Download Clean INI: http://home.t-online.de/home/C.Arnold/cleanini54.zip

 


Compare prices on more than 100,000 products!

Search our product directory.

 

CNET Shopper. Click here.

@Macarlo, Inc.
@Macarlo's Shareware & Web
OS/2
Java Lobby Member
Java Site Accredited

[TOP] [HOME] [INDEX]