Installation and Deinstallation

Operation ››
Parent Previous Next

Installation and Deinstallation


Bin2C does not need any installlation. Just copy the executable file Bin2C.exe to a suitable path and place a shortcut into your favourite location.


A formal deinstallation is not required, just delete Bin2C.exe and any shortcut to the file. Bin2C has generated an .ini file or some entries in the registry, depending on the command line parameters described below. The .ini file may be deleted with any file manager, while the registry entries at HKEY_CURRENT_USER\Software\Michael Krämer Freeware\Bin2C may be removed with regedit. You can as well start Bin2C once with the command line parameters "-rc -rd -id" (see below). It won't hurt though, if the registry entries were not removed.

Command Line Parameters

Bin2C supports a few command line parameters. These parameters are specified behind the pathname of Bin2C in the "Target" field. That window opens when right-clicking on the Bin2C icon and selecting the properties page. The image below was generated with a German version of Windows, so the titles are different. System parameters start with a $ sign, user parameters are not currently used by Bin2C.

The following command line parameters are supported:

-$rc: clear registry entries for this program

All registry entries of this program are deleted. That is useful when Bin2C is being deleted ("uninstalled") or if one wants to restart with a virgin version.

-$rd: disable use of the registry for this program

The registry is not used. Bin2C will use the .ini file, unless -id is also specified.

-$rr: read initialization values from registry

The initialisation is read from the registry

-$rw: write initialization values back to registry

Modified values are written back to the registry

-$if="string": specify ini filename

This parameter specifies the path and the filename of the ini-file. If it is not specified, but use of an ini-file is enabled, Bin2C.ini in the windows directory is used or created.

-$id: disable use of ini file for this program

Bin2C does not use an ini-file. If -rd is also specified, Bin2C does not store any initialisation values.

-$ir: read initialization values from ini file

The initialisation values are read from the ini-file.

-$iw: write initialization values back to ini file

Modified values are written back to the ini-file.

NOTE: avoid using registry and ini-file at the same time with the following exception:

-rr -iw to export registry to ini-file and

-ir -rw to export ini-file to registry

-$pp=n: set process priority for dialog (0:idle, 1:normal, 2:high, 3:realtime)

It is not useful to change the default priority of the dialog, therefore it is suggested not to use this parameter.

-$pt=n: set priority for processing thread (0:idle, 1:lowest, 2:below normal, 3:normal, 4:above normal, 5:highest, 6:time critical)

This setting changes the priority of the thread, which does the work. Normally, this parameter should also not be changed. Some searches can take a long time, however. In such a case a low priority keeps the system agile as Bin2C runs in the background.

-$sx=n: set horizontal snap range for dialog in number of pixels. Dialog will snap to a horizontal edge if distance is smaller than this range.

-$sy=n: set vertical snap range for dialog in number of pixels. Dialog will snap to a vertical edge if distance is smaller than this range.

Note: Registry will be used by default to save and restore parameters, unless $rd is specified or support of an ini-file is selected.

Created with the Personal Edition of HelpNDoc: Full-featured multi-format Help generator