在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?
在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?
输入exit
即可退出。
PS C:\Scripts> cmd
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Scripts>exit
PS C:\Scripts>