Findstr does not work with SET /P?
I have a batch file with a portion shown below: rem @echo off cd C:\Program Files\CA\AllFusion Gen\GEN\test8.ief\c\ FINDSTR /C:"'V1600 OPER'" /C:"'V1714 OPER'" /C:"'V1801 OPER'" /C:"'V1901 OPER'" "MPOAD10C" The above batch file runs successfully with the above code. However, when I modified the script so that the user can enter two variables, as shown below (%path%=test8.ief,%file_name%=MPOAD10C) , it throws the following error: 'FINDSTR' is not recognized as an internal or external command,operable program or batch file. rem @echo off SET /P path=Enter name of IEF folder: echo. && echo. SET