The title is pretty much self explanatory and my example makes it pretty obvious but I'm trying to find for a particular exe file and execute it.
cd c:\
for /f %%f in ('dir /b /s eclipse.exe') do (
start %%f -clean
)
echo Done!
pause >nul
For safety reason please let me know if it's possible to run only the first file found or look for a particular hash string or file size.
Thanks !