HDCleaner Command-line parameters:
"C:\Program Files\HDCleaner\HDCleaner.exe" /debug
Running HDCleaner in debug mode creates a log file with information of HDCleaner's activities for troubleshooting.

More HDCleaner Command-line parameters:
Parameter                     Explanation                                                           Example
HDCleaner.exe /S 	      This performs a silent install of HDCleaner with default options.     HDCleaner.exe /S
HDCleaner.exe /D=<pathname>   This installs HDCleaner into a different folder than the default.     HDCleaner.exe /D=C:\DirectoryToInstall
Note: You can use multiple parameters by including them on the same line. For example,
HDCleaner.exe /S /D=C:\DirectoryToInstall
would install HDCleaner silently to the C:\DirectoryToInstall folder.

Information about HDCleaner INI files:
INI files must be stored in Unicode format.
Additional INI files must be located in the application installation folder (typically, C:\Program Files\HDCleaner).
With Winapp2.ini you can add entries for new software that HDCleaner can clean. 
With Winapp1.ini any applications you list there will replace the default applications on the Applications tab.
With Winsys1.ini any entries you list there will replace the default applications on the Windows tab.
By default, none of the INI files exist when you first install the application.
LangSecRef gives the matching category:
3091 = Games 
3021 = Applications
3022 = Internet
3023 = Multimedia
3024 = Utilities
3025 = Windows
3026 = Firefox
3027 = Opera
3028 = Safari
3029 = Google Chrome
3030 = Thunderbird
3031 = Windows Store
4060 = SRWare Iron
3005 = microsoftedge
3001 = Internet Explorer
3002 = WindowsExplorer
3004 = Advanced
3003 = System
4065 = ChromiumBrowser
4066 = Vivaldi
4067 = CentBrowser
4068 = EpicBrowser
4069 = SlimJetBrowser
4070 = 7StarBrowser
4071 = AmigoBrowser
4072 = CoolNovoBrowser
4073 = CocCocBrowser
4074 = CooWonBrowser
4075 = YandexBrowser
4076 = 360Browser
4077 = KMeleon
4078 = Waterfox
4079 = Iridium
4080 = SeaMonkey
4081 = Pale Moon
Example: LangSecRef = 3003 - the application should be listed in the System category

DetectFile=File or Folder to detect a program by the presence of a File or Folder
Detect=Registry key to detect a program by the presence of a Registry key
FileKeyX=Indicates the files or folders to be deleted
File mask options:
| - with the pipe symbol you can separate file mask options
*.* - deletes every file in that folder. Example: %ProgramFiles%\MyFolder|*.*
RECURSE - deletes subfolders with their contents. Example: %ProgramFiles%\MyFolder|*.*|RECURSE 
REMOVESELF - same as RECURSE but it deletes the folder and all its contents also. Example: %ProgramFiles%\MyFolder|*.*|RECURSEREMOVESELF  (MyFolder folder will be deleted)
*.<extension> - deletes all files in the folder with the stated extension. Example: *.txt
You can also clean certain file - Example: myfile.txt


RegKeyX=Indicates indicates the Registry keys or values to clean
Registry keys are HKCU (HKEY_CURRENT_USER), HKLM (HKEY_LOCAL_MACHINE) ...
Registry mask options:
| - with the pipe symbol you can clean a particular value of a registry key

EXAMPLES:

[MyProgram]
LangSecRef=3021
DetectFile=%AppData%\MyProgram
Default=False
FileKey1=%AppData%\MyProgram|logfile.* - deletes every file with name logfile
FileKey2=%AppData%\MyProgram\MySubFolder|*.log;*.txt|RECURSE  - deletes recursive all log and txt files

[MyRegistryKey]
LangSecRef=3021
Detect=HKCU\Software\MyRegistryKeyToDelete
Default=False
RegKey1=HKCU\Software\MyRegistryKeyToDelete|valuetoDelete - deletes Registry Value valuetoDelete 
RegKey2=HKCU\Software\MyRegistryKeyToDelete\RegKeyToDelete - deletes Registry Key RegKeyToDelete


How to add Chromium based browsers, portable Chromium based browsers or Mozilla based browsers to HDCleaner: 
Create a ini-file named AddedBrowsers.ini in Unicode format in the installation folder. The entries must have the following format:
[Name of Chromium ( or Mozilla) based browser *]
PathExeFile=This is the exe file name of the browser
PathUserDataDefault=Path to Default user data folder
Type=CHROME( or MOZILLA)

Examples:

[GoogleChromePortable*]
PathExeFile=C:\portable\GoogleChromePortable\App\Chrome-bin\chrome.exe
PathUserDataDefault=C:\portable\GoogleChromePortable\Data\profile
Type=CHROME
 
[IronPortable*]
PathExeFile=C:\portable\IronPortable\App\Iron\Iron.exe
PathUserDataDefault=C:\portable\IronPortable\Data
Type=CHROME

[FirefoxPortable*]
PathUserDataDefault=C:\portable\FirefoxPortable\Data\profile
PathExeFile=C:\portable\FirefoxPortable\App\Firefox64\Firefox.exe
Type=MOZILLA

[K-MeleonPortable*]
PathUserDataDefault=C:\portable\K-MeleonPortable\Data\profile
PathExeFile=C:\portable\K-MeleonPortable\App\K-Meleon\K-Meleon.exe
Type=MOZILLA