Enter a reading counter to variable

0

Hello that such a good afternoon, what I want to do is to count x times a word defined in a text and after that put it in a variable which will be printed in a pop-up box. The little code I have is this:

@echo off
:bucle
find /c "Perl" < texto.txt
pause > nul
goto bucle

taking into account that our text to read is the following:

  

Perl is a programming language designed by Larry Wall created in   1987. Perl takes characteristics of C, interpreted language shell (sh), AWK, thirst, Lisp and, to a lesser degree, many others.   programming languages.

     

Structurally, Perl is based on a style of blocks like   of the C or AWK, and was widely adopted for his skill in   processed text and not have any of the limitations of the   other scripting languages.

I've already tried the command

set InserteVariable= find

but I think I'm on the wrong track.
I thank you in advance for the help.

    
asked by Valdemar Allan Poe 06.07.2016 в 23:44
source

0 answers