Search found 3 matches

by GoodPrognosis
13 Jul 2012 10:38
Forum: DOS Batch Forum
Topic: Find text within file
Replies: 6
Views: 4743

Re: Find text within file

I get a page full of:

FINDSTR: Line 1 is too long.
FINDSTR: Line 1 is too long.
FINDSTR: Line 1 is too long.
FINDSTR: Line 1 is too long.
FINDSTR: Line 1 is too long.

I'll look this one up when I get home.

Thanks so much for your thoughts.

GP
by GoodPrognosis
13 Jul 2012 10:02
Forum: DOS Batch Forum
Topic: Find text within file
Replies: 6
Views: 4743

Re: Find text within file

You'll be pleased to know that the hangover is gone and the world is a much more cheery place. And you're attempt to fix this foxi has really cheered me up I've continued to play on the command line with find and findstr and I think the problem has something to do with the format the data file is in...
by GoodPrognosis
13 Jul 2012 05:12
Forum: DOS Batch Forum
Topic: Find text within file
Replies: 6
Views: 4743

Find text within file

Hi guys, I need to run a batch file that: Looks inside a file for the existence of specified txt... and then set a variable to the value of the characters next to that txt. God if I struggle to explain it in English no wonder I can't do it in DOS! So I managed to hack this together (by trial and err...