You are here

CCleaner

6 posts / 0 new
Last post
hvacmach
Offline
Last seen: 18 years 1 week ago
Joined: 2005-12-13 18:17
CCleaner

Ok so I read a few post on this and tried a bat file https://portableapps.com/node/151
but i still can not get this app to run from my thumb drive. Did i miss the answer or does anyone have one yet?

Rob Loach
Rob Loach's picture
Offline
Last seen: 16 years 3 months ago
Developer
Joined: 2005-12-09 17:29
...

If you're going to post about something, post in the already existing thread instead of creating a new one. As for your problem, why doesn't it work? What happens when you run it?

You have to put the following in a new file in the application directory named RunCCleaner.bat:

@Echo Off
TITLE CCleaner startup
Echo Registering ActiveX components
cd\Apps\ccleaner
start /WAIT regsvr32.exe /s cchelper.ocx
start /WAIT regsvr32.exe /s CCListView.ocx
start /WAIT regsvr32.exe /s CCSubTimer.dll
start /WAIT regsvr32.exe /s CCTab.ocx
start /WAIT regsvr32.exe /s CCTreeView.ocx
Echo Starting application
start /WAIT ccleaner.exe
Echo Unregistering ActiveX components
start /WAIT regsvr32.exe /u /s cchelper.ocx
start /WAIT regsvr32.exe /u /s CCListView.ocx
start /WAIT regsvr32.exe /u /s CCSubTimer.dll
start /WAIT regsvr32.exe /u /s CCTab.ocx
start /WAIT regsvr32.exe /u /s CCTreeView.ocx
Exit

Rob Loach [Website] [Projects]

Anonymous (not verified)
I use seperate batch files

I use seperate batch files for Win2k/XP and Win98/ME...

For Win2k/XP:

@ECHO OFF
Echo Registering Components
regsvr32 /s CCHelper.ocx
regsvr32 /s ccleaner.dll
regsvr32 /s CCListBar.ocx
regsvr32 /s CCListView.ocx
regsvr32 /s CCSubTimer.dll
regsvr32 /s CCSystem.dll
regsvr32 /s CCTab.ocx
regsvr32 /s CCTreeView.ocx
CALL ccleaner.exe
Echo Un-Registering Components
regsvr32 /s /u CCHelper.ocx
regsvr32 /s /u ccleaner.dll
regsvr32 /s /u CCListBar.ocx
regsvr32 /s /u CCListView.ocx
regsvr32 /s /u CCSubTimer.dll
regsvr32 /s /u CCSystem.dll
regsvr32 /s /u CCTab.ocx
regsvr32 /s /u CCTreeView.ocx

For Win98/ME:

@ECHO OFF
Echo Registering Components
c:\windows\system\regsvr32 /s CCHelper.ocx
c:\windows\system\regsvr32 /s ccleaner.dll
c:\windows\system\regsvr32 /s CCListBar.ocx
c:\windows\system\regsvr32 /s CCListView.ocx
c:\windows\system\regsvr32 /s CCSubTimer.dll
c:\windows\system\regsvr32 /s CCSystem.dll
c:\windows\system\regsvr32 /s CCTab.ocx
c:\windows\system\regsvr32 /s CCTreeView.ocx
CALL ccleaner.exe
Echo Un-Registering Components
c:\windows\system\regsvr32 /s /u CCHelper.ocx
c:\windows\system\regsvr32 /s /u ccleaner.dll
c:\windows\system\regsvr32 /s /u CCListBar.ocx
c:\windows\system\regsvr32 /s /u CCListView.ocx
c:\windows\system\regsvr32 /s /u CCSubTimer.dll
c:\windows\system\regsvr32 /s /u CCSystem.dll
c:\windows\system\regsvr32 /s /u CCTab.ocx
c:\windows\system\regsvr32 /s /u CCTreeView.ocx
whatanerd
Offline
Last seen: 18 years 5 months ago
Joined: 2005-12-12 02:10
Thanks, I have used the bat

Thanks, I have used the bat file for XP/2000. Works GREAT! I appreciate the work.

However, I am wondering what files (besides the uninstall file) can I remove from the directory once on the thumbdrive???

Buzzsaw (not verified)
You will need all the

You will need all the files.

Also, when using CCleaner from a USB drive you will get a runtime error and be unable to create a backup of any registry entries removed by the registry cleaner.

rlmoore0751 (not verified)
CCleaner

WOW! That works great.

Many thanks.

Topic locked