Hi,
New to batch scripting & have not been able to find examples or info on the following...
want to assign the output of the 'find' command to a variable, in batch script.
eg: MyVariable = find /c "myString" c:/myfile.log
so, looking for the number of times myString appeard in myFile &...
Hi,
New to batch scripting & have not been able to find examples or info on the following...
want to assign the output of the 'find' command to a variable.
eg: MyVariable = find /c "myString" c:/myfile.log
where MyVariable contains the count of how may times 'myString' appeared in 'myFile'...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.