Skip to main content

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.