Cache Cleaner - [batch]

Toyz
by Toyz · 3 posts
11 years ago in Batch
Posted 11 years ago · Author
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

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
Select a forum Protection     Help & Support     Introductions     Mafia News     IMVU News General Discussion     IMVU Lounge        IMVU Series / Roleplaying        Social Games     Mafia Market     Mafia Tools        Premium IMVU Tools        Off Topic Tools     Off Topic     Contests Creator Corner     Graphics Design        Photoshop        GIMP     Basic Creator Help     Catalog And Product Showcase     3D Meshing        3Ds Max        Sketchup        Blender Gangsters with Connections     White Hat Activities        Google Hacking        Trackers Programming Corner     Coding        Python        .Net (C#, VB, etc)        Flash        JAVA        Autoit        Batch        HTML & CSS        Javascript        PHP        Other        IMVU Homepage Codes           General           About me Panel           Messages Panel           Special Someone Panel           Visitors Panel           New Products Panel           Rankings Panel           Wishlist Panel           My Badges Panel           Outfits Panel           Url Panel           Groups Panel           Slideshow Panel           My Room Panel           Sandbox panel           Layouts     Help & Requests Free Credits     Approved Methods     Submit Methods Free Money     Approved Methods     Submit Methods Adult Corner     Get Mafia AP Here     AP Lounge        AP Social Games        Casual Dating Tips     IMVU Slave Market & Escorts