📜  获取当前目录批处理 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:11.085000             🧑  作者: Mango

代码示例4
%cd% refers to the current working directory (variable)
%~dp0 refers to the full path to the batch file's directory (static)
%~dpnx0 and %~f0 both refer to the full path to the batch directory and file name (static).