I am trying to find the specific files, which exists or not there in the directory using Batch script
@echo off
setlocal
CD C:\MM-cmd\INPUT
for /r %%i in (*.csv) do set var=%%i(
echo %var%
)
it's not getting filenames.
it's printing like:
ECHO is off.
ECHO is off.
ECHO is off.
ECHO is off.
ECHO is off.
ECHO is off.
ECHO is off.
Can anyone help me please?!