Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. FOR /F %%G IN ('findstr /m netkvm c:\windows\inf\oem*.inf') DO (call :inf_check "%%G")
  2. GOTO :eof
  3.  
  4. :inf_check
  5. GOTO :inf_del %~n1%~x1
  6. GOTO :eof
  7.  
  8. :inf_del
  9. REM pnputil -f -d %1
  10. GOTO :eof
  11.  
  12. :inf_add:
  13. pnputil -i -a %1
  14. GOTO :eof
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement