How do I type a TAB character in PowerShell?

后端 未结 4 1375
迷失自我
迷失自我 2021-02-04 22:53

Task: By default, pressing the TAB key while in Windows Command Prompt will output file names, while it does nothing in PowerShell. I want to be able to type th

4条回答
  •  你的背包
    2021-02-04 23:37

    TAB has a specific meaning in PowerShell. It's for command completion. So if you enter "getch" and then type a TAB. It changes what you typed into "GetChildItem" (it corrects the case, even though that's unnecessary).

    From your question, it looks like TAB completion and command completion would overload the TAB key. I'm pretty sure the PowerShell designers didn't want that.

提交回复
热议问题