See more:
(untagged)
i want batch file search in file if have small english letters and numbers only it will send him to fin,if he have symbol different than small english letters and numbers it will send him to end
for example:
set /p test=enter password
echo %test%>123.txt
findstr /m "a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,1,2,3,4,5,6,7,8,9,0"
if %errorlevel%==0 goto fin
if %errorlevel%==1 goto end
:fin
echo your password have small english letters and numbers
pause
exit
:end
echo your password have symbol different than small english letters and numbers
pause
exit
It is not necessary to be a code of findstr i write findstr to clarify the meaning