Windows equivalent to UNIX pwd
如何在命令提示符窗口中找到本地路径?
this prints it in the console
echo %cd%
or paste this command in CMD, then you'll have pwd
:
(echo @echo off
echo echo ^%cd^%) > C:WINDOWSpwd.bat
它是“当前目录”的cd
。
Open notepad as administrator and write:
@echo %cd%
Save it in c:windowssystem32 with the name "pwd.cmd" (be careful not to save pwd.cmd.txt)
Then you have the pwd command.
链接地址: http://www.djcxy.com/p/16438.html上一篇: 将Windows cmd stdout和stderr重定向到单个文件
下一篇: Windows等同于UNIX pwd