Inital Upload
This commit is contained in:
commit
3d9d418eb8
30
WowDeleteUnusedAddonConfigs.bat
Normal file
30
WowDeleteUnusedAddonConfigs.bat
Normal file
@ -0,0 +1,30 @@
|
||||
@echo off
|
||||
pushd "C:\Games\World of Warcraft\_retail_\WTF\Account"
|
||||
del /s *.bak
|
||||
del /s *.old
|
||||
for /d %%i in (*) do (
|
||||
if exist %%i\SavedVariables\ (
|
||||
echo Account: %%i
|
||||
for %%j in ("%%i\SavedVariables\*.lua") do (
|
||||
echo GlobalSV: %%~nj
|
||||
if not exist ..\..\Interface\AddOns\%%~nj\ (
|
||||
echo Delete: %%~nj
|
||||
del "%%j"
|
||||
)
|
||||
)
|
||||
for /d %%j in ("%%i\*") do (
|
||||
for /d %%k in ("%%j\*") do (
|
||||
echo Character: %%k
|
||||
for %%l in ("%%k\SavedVariables\*.lua") do (
|
||||
echo CharSV: %%~nl
|
||||
if not exist ..\..\Interface\AddOns\%%~nl\ (
|
||||
echo Delete: %%~nl
|
||||
del "%%l"
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
popd
|
||||
pause
|
Loading…
Reference in New Issue
Block a user