We have requirement where we are searching file(s) in folders in a specific path. The .csv file which contains list of file names and we want to find those files in the given directory.
 If any of the files mentioned in the .csv file is missing in the search path then it should throw error message.

We tried with below script but it is not working:

```
set InputFile=C:\Users\336727\Desktop\arun\SearchMCSentry\inputs.csv
:start
for /f "tokens=*" %%A in ('type "%InputFile%"') do ( 
    set "Found=1" 
        for /R %%f in ("%%A") do ( 
    echo ---%%f and Found = %Found%
            if exist %%f  (
            set Found=2
    echo ====%%A and Found = %Found%
            pause
            )
    echo %%A and Found = %Found%
        )
    if %Found%==1 goto :error

    )
    :error
    echo File not found  

```

Could you pls help us how to achieve this.

Thanks,
Parag