aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/clean_drivers.bat
blob: 6ec8e497c493103a7db6b11c0d8373afa3f4911e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13



                                                                      
 







                                                                         
@rem Copyright (c) 2015 Egor Tensin <Egor.Tensin@gmail.com>
@rem This file is part of the "Windows 7 drivers" project.
@rem For details, see https://github.com/egor-tensin/windows7-drivers.
@rem Distributed under the MIT License.

@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!
)