Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Variable from multiple lines of text
Name: obrian93 Date: August 24, 2009 at 12:27:35 Pacific OS: XPSP2 Subcategory: Batch
Comment:
Posted a much more vague version of this over in xp general, but I think I better know what I want:
I have two text files, text1 and text2, each file contains multiple short lines of text, like this: P4534523 P0045823 P8830979
I would like to read the first line of text1 and use that text to search for the same string in text2. If the string is NOT found, I would like to stop and call an external batch file. If the string IS found, drop to the second line of text1 and repeat the search, repeating the process until another unique string is found or eof is reached.
Summary: I've seen a few .bat files with the capability of searching for a single line of text. Many of them give me a headache to look at. I'm still somewhat of a newbie ^^' I do have a problem, though, that ...
Summary: Hi. I have a text file "listfile.ini" with up to 50 entries all with the syntax: [code] ; Begin ABC series [ABC1] PATH="..\..\..\ABC1\" CMD="SetKey 11111-22222-33333-44444-55555" [ABC2] PATH="..\..\....
Summary: Does anyone know how to delete the first line of text from a text file using a batch file (or a simple way from the command line)? Thanks, Cory ...