aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/clean_drivers.bat
diff options
context:
space:
mode:
Diffstat (limited to 'clean_drivers.bat')
-rw-r--r--clean_drivers.bat8
1 files changed, 8 insertions, 0 deletions
diff --git a/clean_drivers.bat b/clean_drivers.bat
new file mode 100644
index 0000000..aaae9ad
--- /dev/null
+++ b/clean_drivers.bat
@@ -0,0 +1,8 @@
+@setlocal enabledelayedexpansion
+@echo off
+
+for /f "delims=" %%i in ('dir /s sources /b') do (
+ set driver_src_root=%%~dpi
+ echo.
+ call clean_driver.bat "!driver_src_root:~0,-1!" || exit /b !errorlevel!
+)