User Tools

Site Tools


windows:autoit:reset_outlook_ost_cache

This could also have been a .bat file, there is no specific reason that I made it into an AutoIT script. So, now you know that ;)

ResetOSTFile.au3
; Kill Outlook
RunWait(@ComSpec & " /c taskkill /f /im outlook.exe")
; zZz
Sleep(1000)
; Delete OST file
RunWait(@ComSpec & " /c del %LOCALAPPDATA%\Microsoft\Outlook\*.ost")
; zZz
Sleep(1000)
; Start Outlook
RunWait(@ComSpec & " /c start outlook")
windows/autoit/reset_outlook_ost_cache.txt · Last modified: 2015/11/19 09:24 by biggi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki