Search found 2 matches
- 21 Nov 2013 08:48
- Forum: DOS Batch Forum
- Topic: DOS Find command for multiple strings with spaces
- Replies: 2
- Views: 4082
Re: DOS Find command for multiple strings with spaces
Thank you so much for your swift reply. I did try the above but it gave me the message invalid switch. But I tried alternatively with findstr and it worked perfectly. Thanks again findstr /i /c:"ERROR" /c:"WARNING" /c:"already on the library" /c:"another string wit...
- 20 Nov 2013 04:42
- Forum: DOS Batch Forum
- Topic: DOS Find command for multiple strings with spaces
- Replies: 2
- Views: 4082
DOS Find command for multiple strings with spaces
Hello, I am trying to create a batch script which is a simple find but I want to have the result in the order that the string exists. Let me give an example. The following is what I have at the moment. which scans the file for ERROR then ouputs any occurrences. then moves onto the next string: WARNI...