I have several drivers which have their .inf file in directories with same prefix. I need to find a way to give each of these inf files as a path for the dpinst application for uninstallation. I have tried something like this:
:UNINSTALL_LOOP dpinst.exe /u "C:\Windows\System32\DriverStore\FileRepository\nvme.inf*\nvme.inf" /d /s /f
if exist "C:\Windows\System32\DriverStore\FileRepository\nvme.inf*" goto :UNINSTALL_LOOP
But it doesn't work with wildcards.. I would appreciate any ideas. Thanks
Aucun commentaire:
Enregistrer un commentaire