admin管理员组

文章数量:1130349

1.创建clear-data.bat

@echo The program will be start in 2 sec
@echo Please exit your chrome,otherwise will auto shutdown Chrome.
@echo off
ping  127.0.0.1 -n 2 >nul
taskkill /f /im chrome.exe
ping  127.0.0.1 -n 2 >nul
ren "C:\Users\%username%\AppData\Local\Google\Chrome\User Data" "User Data-Up"
ping  127.0.0.1 -n 2 >nul
rd /s /q "C:\Users\%username%\AppData\Local\Google\Chrome\User Data-Up"
@echo Done,Please restart Chrome for test

1.创建clear-data.bat

@echo The program will be start in 2 sec
@echo Please exit your chrome,otherwise will auto shutdown Chrome.
@echo off
ping  127.0.0.1 -n 2 >nul
taskkill /f /im chrome.exe
ping  127.0.0.1 -n 2 >nul
ren "C:\Users\%username%\AppData\Local\Google\Chrome\User Data" "User Data-Up"
ping  127.0.0.1 -n 2 >nul
rd /s /q "C:\Users\%username%\AppData\Local\Google\Chrome\User Data-Up"
@echo Done,Please restart Chrome for test

本文标签: 缓存浏览器batchrome