Windows 相当于 UNIX pwd [英] Windows equivalent to UNIX pwd
本文介绍了Windows 相当于 UNIX pwd的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在命令提示符下找到 Windows 上的本地路径?
How do I find the local path on windows in a command prompt?
推荐答案
这会在控制台中打印出来:
This prints it in the console:
echo %cd%
或将此命令粘贴到 CMD 中,然后您将拥有 pwd
:
or paste this command in CMD, then you'll have pwd
:
(echo @echo off
echo echo ^%cd^%) > C:WINDOWSpwd.bat
这篇关于Windows 相当于 UNIX pwd的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文