Hiya. I have a text file called corncob.txt which is a massive english dictionary (no definitions of words) that has each word on a different line. What I want is to have a batch file that asks you what word in a crossword puzzle is needed. You would use the '?' wildcard for the letters that you don't know. How do I make a FOR loop sort through the corncob.txt and find all words that match the input for example you enter '?ook' and it would return the words 'book', 'cook', 'took', 'look' etc.
I still can't get my head around the batch's FOR loops
Please help me
Thanks a whole lot!
phillid
Crossword Helper Program
Moderator: DosItHelp
Re: Crossword Helper Program
findstr /be /r /c:".ook" corncob.txt
. means any symbol