Skip to content

Instantly share code, notes, and snippets.

@b4tman
Last active January 10, 2022 08:09
Show Gist options
  • Save b4tman/43946211cce8a051107093d6f7d9c001 to your computer and use it in GitHub Desktop.
Save b4tman/43946211cce8a051107093d6f7d9c001 to your computer and use it in GitHub Desktop.
батник для очистки кеша 1с (на Windows XP и более новых)
@echo off
setlocal EnableExtensions
IF NOT DEFINED LOCALAPPDATA set LOCALAPPDATA=%HOMEDRIVE%%HOMEPATH%\Local Settings\Application Data
for /D %%i in ("%LOCALAPPDATA%\1C\1Cv8\*-*-*-*-*") do (rmdir /q /s "%%i")
for /D %%i in ("%LOCALAPPDATA%\1C\1Cv82\*-*-*-*-*") do (rmdir /q /s "%%i")
@b4tman
Copy link
Author

b4tman commented Jan 10, 2022

@alexeyp280296 это для батника, если копировать в консоль то нужно вместо %%i вводить %i

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment