From 824dec4f9e14ad503d71e47705349ae0691a969c Mon Sep 17 00:00:00 2001 From: claustromaniac <20734810+claustromaniac@users.noreply.github.com> Date: Wed, 18 Apr 2018 20:29:39 +0000 Subject: [PATCH] Update prefsCleaner.bat --- prefsCleaner.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prefsCleaner.bat b/prefsCleaner.bat index 46abc15..3964b6d 100644 --- a/prefsCleaner.bat +++ b/prefsCleaner.bat @@ -67,7 +67,7 @@ GOTO :EOF REM ######### Cleanup Function ########## :cleanup ( - FOR /F tokens^=2^ delims^=^'^" %%G IN ('FINDSTR /R ^^[^^\^"^']*user_pref user.js') DO ( + FOR /F tokens^=2^ delims^=^'^" %%G IN ('FINDSTR /R /C:"^[^\"']*user_pref[ ]*\([ ]*[\"'][^\"']*[\"'][ ]*," user.js') DO ( IF NOT ""=="%%G" (SET "[%%G]=1") ) FOR /F "tokens=1,* delims=:" %%G IN ('FINDSTR /N "^" prefs.js') DO (