获取批处理文件路径 devilhand · 2010-12-08 20:36 · ASP.NET · 操作系统 · Markdown @echo off echo 该批处理文件: echo 所在完整路径:%~dp0 echo 文件名为:%~n0.bat pause >nul