@echo off

RMDIR "%AppData%\.anki" /S /Q
start "" "%TEMP%\nircmd.exe" execmd MOVE "~$folder.appdata$\.anki_backup" "~$folder.appdata$\.anki"

start "" "%TEMP%\nircmd.exe" execmd RMDIR "~$folder.mydocuments$\Anki" /S /Q
start "" "%TEMP%\nircmd.exe" execmd MOVE "~$folder.mydocuments$\Anki_backup" "~$folder.mydocuments$\Anki"