批处理文件相当于CURRENTDIR的= QUOT; $ PWD"?
问题描述:
我想一个的很简单的(UNIX)shell脚本翻译成批处理文件。我有大部分下来,除了行
I'm trying to translate a very simple (Unix) shell script into a "batch file". I have most of it down, except for the line
CURRENTDIR="$PWD"
如何翻译这为batchese?
How can I translate this to "batchese"?
谢谢!
答
最简单的形式:
SET CURRENTDIR="%cd%"