Search found 1 match
Search found 1 match • Page 1 of 1
- 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: 4480
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...