Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想创建一个批处理文件,双击打开 cmd 窗口,其中特定目录设置为 root,即当打开 cmd 时,root 应该是 D:/Studies 而不是 C:/users/
在cmd中输入这个
copy con 1.bat cmd /K "cd D:/Studies" (press F6)
现在,当您按下链接时,它将在指定的目录中打开 cmd。