2015-05-21 254 views
3

從PowerShell,我們可以運行cmd切換到命令提示符。從那裏,我們該如何切換回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? 

回答

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>