如何在Dos批处理文件中设置当前的工作目录/驱动器? [英] How do I set the current working directory/drive in a dos batch file?
本文介绍了如何在Dos批处理文件中设置当前的工作目录/驱动器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
cd d:\projects
不起作用
如何设置当前的工作驱动器和目录,以便可以从那里运行msbuild脚本?
How can I set the current working drive and directory so that I can run msbuild scripts from there?
推荐答案
尝试以下操作:
D:
cd \projects
或一行(由 查看全文