find command output only filename code example
Example: 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
echo off
:start
cls
set /p input=masukan nama ? &
set result=| dir /a *.* /b | find "%input%"
echo %result%
pause
goto start