- Introducing CCleaner
- Using CCleaner
- CCleaner Rules
- CCleaner Settings
- CCleaner How Tos
- Command-line parameters
CCleaner .INI files
- What do CCleaners INI files do?
- How to add your own program for CCleaner to clean
- How to clean user data from non-standard Mozilla browsers
- How to add other areas of Windows for CCleaner to clean
- How to run Visual Basic scripts during the Cleaning process
- Environment variables and system variables in CCleaner
- Using ccleaner.ini to modify how CCleaner runs
- How to Exclude Items from CCleaners Cleaning
How to run Visual Basic scripts during the Cleaning process
You can add instructions to any CCleaner INI file to run a VBscript. We recommend that you place the scripts in the CCleaner application folder.
To run a VBscript, add a line similar to the following example to the INI file:
This will run a script called test.vbs located in the CCleaner application folder.
Use the full path to run scripts in other folders. For example:
This will run the alarm.vbs script located in the root folder.
Note: You cannot use the ScriptKey command to pass parameters to VBscripts.