victor2008
asked on
Need a script to clear browsing history, download history, and empty the cache for Chrome for all users on the computer (win8/higher)
Here's an example of one I found but need it to clear all users on the computer's Chrome.
@echo off
set ChromeDir=C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data
del /q /s /f "%ChromeDir%"
rd /s /q "%ChromeDir%"
cls
IF %ERRORLEVEL%==0 (
@echo "Success Message"
exit0
) ELSE (
@echo "Error Message"
exit 1001
)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.