首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 系统运维 >

回来上一次的目录

2013-04-02 
回到上一次的目录windows回到上一次目录和linux不同,没有cd - 命令。我在这里找到一些答案:http://superuse

回到上一次的目录

windows回到上一次目录和linux不同,没有cd - 命令。

我在这里找到一些答案:http://superuser.com/questions/129969/navigate-to-previous-directory-in-windows-command-prompt

下面的答案可以用在交互情况下,将mycd.bat复制到windows system32目录。

C:\Users\...\newlisp\win>pushd /?Stores the current directory for use by the POPD command, thenchanges to the specified directory.PUSHD [path | ..]  path        Specifies the directory to make the current directory.If Command Extensions are enabled the PUSHD command acceptsnetwork paths in addition to the normal drive letter and path.If a network path is specified, PUSHD will create a temporarydrive letter that points to that specified network resource andthen change the current drive and directory, using the newlydefined drive letter.  Temporary drive letters are allocated fromZ: on down, using the first unused drive letter found.



热点排行