Forums WoW Modding Resources Tools [Archive] [Autoit] Clear Wow Cache Then Start Wow

[Archive] [Autoit] Clear Wow Cache Then Start Wow

[Archive] [Autoit] Clear Wow Cache Then Start Wow

rektbyfaith
Administrator
0
11-04-2025, 12:45 PM
#1
Archived author: senkin • Posted: 2025-11-04T13:45:47.471145
Original source

Quote: It does exactly what the title says. It is very simple in design, I will first post the source code for the computer literate people. Then once I have a few confirms that it works I will post a compiled version.

Code:
$WowFolder = IniRead("config.ini","Main","WowFolder","1")
If $WowFolder = 1 Then
$WowFolder = FileSelectFolder("Find your WoW folder.","")
IniWrite("config.ini","Main","WowFolder",$WowFolder )
EndIf
MsgBox(0,"Clearing Cache and running WoW","Clearing Cache and running Wow from "&@CRLF&$WowFolder)
FileDelete($WowFolder&"\Cache\WDB\enUS\*.wdb")
Run($WowFolder&"\WoW.exe",$WowFolder)
No need to create the .ini file, it will do it for you after the first time you run it.

No guide needed, it is all obvious.
rektbyfaith
11-04-2025, 12:45 PM #1

Archived author: senkin • Posted: 2025-11-04T13:45:47.471145
Original source

Quote: It does exactly what the title says. It is very simple in design, I will first post the source code for the computer literate people. Then once I have a few confirms that it works I will post a compiled version.

Code:
$WowFolder = IniRead("config.ini","Main","WowFolder","1")
If $WowFolder = 1 Then
$WowFolder = FileSelectFolder("Find your WoW folder.","")
IniWrite("config.ini","Main","WowFolder",$WowFolder )
EndIf
MsgBox(0,"Clearing Cache and running WoW","Clearing Cache and running Wow from "&@CRLF&$WowFolder)
FileDelete($WowFolder&"\Cache\WDB\enUS\*.wdb")
Run($WowFolder&"\WoW.exe",$WowFolder)
No need to create the .ini file, it will do it for you after the first time you run it.

No guide needed, it is all obvious.

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)