This is an old revision of the document!
set src=%1 for /r %%a in (%src%) do echo %%a
set src=%1 for /r %%a in (%src%) do echo %%~na
echo %~n1