Cache Cleaner - [batch] 3 posts

OP Tue Jun 05, 2012 4:03 am
User avatar
  • Gender: Female
  • Posts: 67
  • Joined: Jun, 2012
  • Karma: 10
Code
@echo off
Title IMVU Mafias Cache Cleaner (IMVU)
::IMVU Process Killer
echo Killing running IMVU
Taskkill /IM IMVUClient.exe /F
Taskkill /IM IMVUQualityAgent.exe /F

::Cache Deleting
echo Deleteing AssetCache
del /f /Q %appdata%\IMVU\AssetCache\*.*

echo Deleteing HttpCache
del /f /Q %appdata%\IMVU\HttpCache\*.*

echo Deleteing AssetCache
del /f /Q %appdata%\IMVU\PixmapCache\*.*

::Finished
echo Done cleaning caches restarting IMVU
start %appdata%\IMVUIMVUClient.exe
exit


Code
@ECHO OFF 
Title IMVU Mafias Cache Cleaner (IMVU)
echo CreateObject("Wscript.Shell").Run """" ^& WScript.Arguments(0) ^& """", 1, False > "%TEMP%\\invis.vbs"

(
   echo CD "%APPDATA%\\IMVU\\"
   echo RENAME "PixmapCache" "DELETE_PixmapCache"
   echo RENAME "HttpCache" "DELETE_HttpCache"
   echo RENAME "AssetCache" "DELETE_AssetCache"
   echo RENAME "Cache" "DELETE_Cache"
)  > "%TEMP%\\delete.bat"

echo for /d %%%%a in ("%APPDATA%\\IMVU\\DELETE_*") do rd /s /q "%%%%a" >> "%TEMP%\\delete.bat"


start /low wscript.exe %TEMP%\\invis.vbs %TEMP%\\delete.bat

echo Your cache has been cleared.
pause
Thu Jun 07, 2012 3:23 am
User avatar
Administrator
Legendary Family Member
  • Gender: Male
  • Posts: 6285
  • Joined: Jun, 2010
  • Advertisements: 45
  • Karma: 368
Thanks for sharing your code with us. I'm sure we can learn a lot from it.
Sun Oct 04, 2015 10:15 am
User avatar
TIM Enthusiast
Legendary Family Member
  • Gender: Female
  • Posts: 709
  • Joined: Sep, 2015
  • Advertisements: 2
  • Karma: 0
Thanks DM! I got this new cashe cleaner on my first day here and it really works wonders....I love it....thanks a lot! :coin: :coin: :coin:

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT