Thursday, April 6, 2017

Batch script for deleting AUC and KTI files

This post contains a small batch script which deletes all *.auc and *.kti files normally requires when you are willing to clear user caches.

Save this below script in a file and save it as *.bat extension. Execute this file and it will deletes *.auc and *.kti files.

@echo off
cls
setlocal
:PROMPT
SET /P AREYOUSURE=Delete AX User Cache (Y/[N])?
IF /I "%AREYOUSURE%" NEQ "Y" GOTO END

CD %Userprofile%\AppData\Local
Del *.AUC
Del *.KTI

:END
endlocal
Pause

1 comment:

  1. also :

    cd C:\users
    del *.auc /s
    del *.kti /s

    this will delete the AUC and KTI files for all users

    ReplyDelete