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.
Batch [Search file string + custom]
Name: user1234 Date: September 9, 2008 at 12:26:35 Pacific OS: Windows XP CPU/Ram: 1GB Product: HP Compaq
Comment:
Hello everyone, I apologize if this is repeated but I couldn't find it anywhere.
Here's my problem: I have a code.txt file that contains 1200 lines of code. I have another findthis.txt file that contains names (including spaces) separated by line. Code.txt also contains names from findthis.txt in a function call.
So let's say "Allow Me" is in findthis.txt and gets called in code.txt by Show "Allow Me". I want to find out which names in findthis.txt does not get referenced in code.txt after the Show " ... code.
Name: ghostdog Date: September 10, 2008 at 06:57:57 Pacific
Reply:
show example findthis.txt and code.txt. describe the output that you want to see
0
Response Number 2
Name: user1234 Date: September 10, 2008 at 07:09:54 Pacific
Reply:
Thanks for replying.
Here's a sample:
findthis.txt =============== Test Function 1 Test Function 2 Test Function 3 ... __________________________ code.txt ======== Script blah blah ... Show Test Function 1 Script calls something else Show Test Function 2 ... ___________________________
Essentially, I want to find out which functions from findthis.txt do not get called by Show "..." command in code.txt (Function names in findthis.txt include spaces and are only separated by lines)
Summary: Hi, I need a Batch File to search files with the extension ".glb" in a specified directory, and if any one of the files has the extension as ".glb", i need to store the entire file name to a variable ...
Summary: I think Tom once helped me out on this syntax, but I forgot where I put it now... :( I can successfully search a File Handle (MYDATA) for a search value ($SEARCH) in a while loop like the following: w...