Batch verarbeitet For nicht
Hallo,
Ich habe folgenden Inhalt in einer cmd Datei stehen.
c:i386devcon findall USB\* USBSTOR\* STORAGE\* > hwlist.txt
for /F "tokens=1,2 delims=:" %i in (hwlist.txt) do @for /F "tokens=1,2 delims= " %a in ("%i") do devcon remove "@%a"
c:i386devcon rescan
Reboot
Die hwlist.txt wird erstellt! Aber dann bricht der Batch einfach ab.
Ich hoffe ihr könnt mir Helfen
Danke schon mal
Ich habe folgenden Inhalt in einer cmd Datei stehen.
c:i386devcon findall USB\* USBSTOR\* STORAGE\* > hwlist.txt
for /F "tokens=1,2 delims=:" %i in (hwlist.txt) do @for /F "tokens=1,2 delims= " %a in ("%i") do devcon remove "@%a"
c:i386devcon rescan
Reboot
Die hwlist.txt wird erstellt! Aber dann bricht der Batch einfach ab.
Ich hoffe ihr könnt mir Helfen
Danke schon mal
Please also mark the comments that contributed to the solution of the article
Content-Key: 58135
Url: https://administrator.de/contentid/58135
Printed on: April 24, 2024 at 07:04 o'clock
6 Comments
Latest comment