Search found 1 match

by xcislav
Wed Dec 22, 2010 4:29 am
Forum: Other Scripting Languages
Topic: FOR /F (Windows loop) How to make delims not singl
Replies: 2
Views: 4649

FOR /F (Windows loop) How to make delims not singl

In loop FOR /F there is very good block separator delims= tokens=. But I'm frustrated that delims can hold only 1 symbol. But I want to extract from list only machines which run on 'Windows 2000' like: FOR /F "delims='Windows 2000' tokens=2" %%i in (genlist.txt) do systeminfo /s %%i File genlist.txt...