cmd check files in same foldr code example
Example 1: cmd files in directory
Enter “dir” (without quotes) to list the files and folders contained in the folder.
Example 2: find name file in cmd
echo off
:start
cls
set /p input=masukan nama ? &
set result=| dir /a *.* /b | find "%input%"
echo %result%
pause
goto start