Search found 1 match

by petronni
19 Feb 2009 20:11
Forum: DOS Batch Forum
Topic: assign result of findstr to variable
Replies: 2
Views: 8826

assign result of findstr to variable

Hi. First, sorry for my bad English... I spent 4 hours searching soultion to this problem, on internet, cause i'm begginer at this. Let's say i have c:\test.txt file. That file has 4 lines of text: line1 line2 line2 qwertABC I want to extract ABC from line 4, something like this: set str=%findstr &q...