@echo off
pushd %1 & for %%i in (.) do set curr=%%~ni
echo %curr%
pause

 

相关文章: