@echo off
u:
set /p var1="‚ўҐ¤ЁвҐ ЇҐаўл© Ї а ¬Ґва: "
set /p var2="‚ўҐ¤ЁвҐ ўв®а®© Ї а ¬Ґва: "
if not defined var1 (goto error)
if not defined var2 (goto error)
if "%var1%" == "%var2%" (goto eq) else (goto uneq)
:eq
echo %var1% > var1.txt
echo 2222 >> var1.txt
eq.bat
exit
:uneq
md var1
echo %var2% > var1\var2.txt
echo 1111 >> var1\var2.txt
uneq.bat
exit
:error
echo Ћ¤Ё Ё«Ё ®Ў Ї а ¬Ґва Ґ § ¤ л
pause
exit