获取当前目录名称
@echo offset "lj=%~p0"set "lj=%lj:\= %"for %%a in (%lj%) do set wjj=%%aecho %wjj%pause
----------------------------------------------------------
获取当前路径
@echo offecho %cd%pause