diff --git a/batch/chcl3.cmd b/chcl3.cmd similarity index 93% rename from batch/chcl3.cmd rename to chcl3.cmd index a1950ec..24d86c4 100644 --- a/batch/chcl3.cmd +++ b/chcl3.cmd @@ -29,7 +29,7 @@ cls CD %~dp0 echo # Stopping services... -for /f %%A IN (services.txt) DO ( +for /f %%A IN (data\services.txt) DO ( sc query %%A > NUL if ERRORLEVEL 1060 ( @@ -63,7 +63,7 @@ REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Updat echo. echo # Disabling scheduled tasks... -for /f "delims=" %%A IN (schtasks.txt) DO ( +for /f "delims=" %%A IN (data\schtasks.txt) DO ( SCHTASKS /Query /TN "%%A" 2> NUL if ERRORLEVEL 1 ( @@ -78,7 +78,7 @@ for /f "delims=" %%A IN (schtasks.txt) DO ( echo. echo # Uninstalling telemetry Windows Updates -for /f "delims=" %%A IN (updates.txt) DO ( +for /f "delims=" %%A IN (data\updates.txt) DO ( REM wusa /uninstall /kb:%%A /quiet /norestart if ERRORLEVEL 0 ( ECHO - KB%%A @@ -90,7 +90,7 @@ echo. echo # Blocking telemetry by IP... SETLOCAL EnableDelayedExpansion -for /f %%A IN (ip.txt) DO ( +for /f %%A IN (data\ip.txt) DO ( echo - %%A if not "%%A" == "" set blockedips=!blockedips!,%%A ) @@ -101,7 +101,7 @@ echo. echo # Blocking telemetry by DNS resolution... -for /f "delims=" %%A IN (dns.txt) DO ( +for /f "delims=" %%A IN (data\dns.txt) DO ( FIND /I "%%A" C:\Windows\System32\drivers\etc\hosts > NUL IF ERRORLEVEL 1 ( ECHO - %%A diff --git a/batch/dns.txt b/data/dns.txt similarity index 100% rename from batch/dns.txt rename to data/dns.txt diff --git a/batch/ip.txt b/data/ip.txt similarity index 100% rename from batch/ip.txt rename to data/ip.txt diff --git a/batch/schtasks.txt b/data/schtasks.txt similarity index 100% rename from batch/schtasks.txt rename to data/schtasks.txt diff --git a/batch/services.txt b/data/services.txt similarity index 100% rename from batch/services.txt rename to data/services.txt diff --git a/batch/updates.txt b/data/updates.txt similarity index 100% rename from batch/updates.txt rename to data/updates.txt diff --git a/batch/winupdate.txt b/data/winupdate.txt similarity index 100% rename from batch/winupdate.txt rename to data/winupdate.txt