In the text file 1.txt I look for all the lines where there is the word " Documents " and save it to the file rezultat.txt.
I use the command:
FINDSTR /L "Документы" 1.txt > rezultat.txt The problem is that: words written in Cyrillic (in Russian) are not searched. And in English are searched. How to solve the problem of searching in Russian and solved, this problem as a whole?
Addition, the full code (I look for all the lines where there is the word Documents and save the result to the file rezultat.txt ):
Bat file itself (code) (Do not search for lines by the word - Documents):
@echo off setlocal enableextensions enabledelayedexpansion set /P base="Enter base filename with extension! (eg. MyBase.txt) -> " FINDSTR /L "Документы" %base% > rezultat.txt echo "Rabota zavershena" pause