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:

ScriptKey1=test.vbs

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:

ScriptKey2=c:\alarm.vbs

This will run the alarm.vbs script located in the root folder.

Note: You cannot use the ScriptKey command to pass parameters to VBscripts.

Need more information? Talk to our Business Team

×