← 软件用户 如何用cmd.exe返回最后一个目录? 得分 12 Advertisement 可能的重复: windows命令行能支持Linux的 “cd - "吗? 在Linux下,我可以使用cd -来返回最后一个目录。在Windows下,我如何才能做到这一点? windows shell command-line 来源 Jichao http://superuser.stackexchange.com/users/14782 Advertisement Advertisement
✓ 解决方案找到了! 得分 19 2009-12-18 10:23:43 +0000 你可以使用 pushd 和 popd 命令。pushd 将目录从位置a改到位置b popd 将目录改回目录a。 来源 Xetius http://superuser.stackexchange.com/users/14782
得分 5 2009-12-18 11:02:44 +0000 Cmd.exe是旧版MS-DOS的模拟层,命令都是一样的:1.向后一步=cd. 2. 全部后退 = cd / 其他的请看网上的一些Ms-Dos表。 来源 Акула http://superuser.stackexchange.com/users/14782