Good day to you all. I am a beginner in the batch-file. Why doesn't my code want to work properly? In what direction to dig?
for /F %%a in ('devcon driverfiles ^=net ^| find "PCI\"') do (
devcon remove %%a
)
for /F %%a in ('devcon driverfiles ^=net ^| find "PCI\"') do (
devcon remove PCI\VEN_168C&DEV_0036&SUBSYS_020C1028&REV_01\4&7A7034C&0&00E2
)
If you directly set to for
, it works correctly, why it happens?
Devcon works correctly