从PowerShell,我们可以运行cmd
切换到命令提示符。从那里,我们如何切换回PowerShell。例如......
PS> cmd
C:\temp> echo I am in command mode.
I am in command mode.
C:\temp> echo How do I switch back to PowerShell mode?
How do I switch back to PowerShell mode?
答案 0 :(得分:4)
输入exit
。
PS C:\Scripts> cmd
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Scripts>exit
PS C:\Scripts>