我可以创建在cmd中使用的简写名称吗? [英] Can I create shorthand names for use inside cmd?

查看:67
本文介绍了我可以创建在cmd中使用的简写名称吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以设置快捷方式,以便我可以键入 cd desk而不是 cd desktop来将目录更改为桌面?只有在桌面是当前目录中唯一以 desk开头的文件夹或文件的情况下,这才起作用,但是我真的很想这样做。

Is it possible to make shortcuts so that I can type "cd desk" instead of "cd desktop" to change directory to the desktop? This would only work if desktop is the only folder or file within the current directory that starts with "desk" but I would really like to do this.

推荐答案

不可以,但是可以使用 Tab 键完成正确的操作名称。在当前目录中存在的匹配名称中按 Tab 多个时间周期。

No, you can't, but you can use the Tab key to complete the correct name. Pressing Tab multiple time cycles through the matching names existing in the current directory.

这篇关于我可以创建在cmd中使用的简写名称吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆