Open command window here: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
Easy to open the console window.
Quick to open the command prompt/terminal window.




OS: {{Win}}
== OS: {{Win}} ==
* {{Gd}} [http://lifehacker.com/5989434/quickly-open-a-command-prompt-from-the-windows-explorer-address-bar Quickly Open a Command Prompt from the Windows Explorer Address Bar]. Tested on Windows 7.
=== Open a Command Prompt/Terminal from the current File Explorer directory ===
 
* {{Gd}} (1) Press Keyin {{kbd | key=alt}} + {{kbd | key=d}} to switch to the path bar of file explorer. (2) Enter {{kbd | key = cmd}} in the PATH bar and press {{kbd | key = ENTER}} key to open the console window. Tested on Windows 7, 8, 10.<ref>[http://lifehacker.com/5989434/quickly-open-a-command-prompt-from-the-windows-explorer-address-bar Quickly Open a Command Prompt from the Windows Explorer Address Bar].</ref><ref>[http://isvincent.pixnet.net/blog/post/38873133-windows-7%EF%BC%9A%E5%9C%A8%E5%91%BD%E4%BB%A4%E6%8F%90%E7%A4%BA%E5%AD%97%E5%85%83%E8%A6%96%E7%AA%97%E4%B8%AD%E5%BF%AB%E9%80%9F%E5%88%87%E6%8F%9B%E8%B7%AF%E5%BE%91 Windows 7:在命令提示字元視窗中快速切換路徑 @ 學不完.教不停.用不盡 :: 痞客邦 PIXNET ::]</ref>
* (1) Switch to the file folder you are working on. (2) Enter {{kbd | key = cmd}} in the PATH bar and press {{kbd | key = ENTER}} key to open the console window. Tested on Windows 7, 8, 10.


* cmdhere powertoy for windows xp
* cmdhere powertoy for windows xp
Line 11: Line 10:
* create the cmd.exe shortcut ( c:\windows\system32\cmd.exe ) and set the start location manually
* create the cmd.exe shortcut ( c:\windows\system32\cmd.exe ) and set the start location manually


OS: {{Mac}}
=== Open a File Explorer from the current Command Prompt/Terminal directory ===
Keyin {{kbd | key=explorer . }} on the command prompt<ref>[https://www.howtogeek.com/howto/15781/open-a-file-browser-from-your-current-command-promptterminal-directory/ Open a File Browser From Your Current Command Prompt/Terminal Directory]</ref>
 
== OS: {{Mac}} ==
=== Open a Command Terminal from the current Finder directory ===
* {{Gd}} [http://zipzapmac.com/Go2Shell Go2Shell - ZipZapMac] ([https://itunes.apple.com/tw/app/go2shell/id445770608?l=zh&mt=12 Go2Shell:在 Mac App Store 上的 App])
* {{Gd}} [http://zipzapmac.com/Go2Shell Go2Shell - ZipZapMac] ([https://itunes.apple.com/tw/app/go2shell/id445770608?l=zh&mt=12 Go2Shell:在 Mac App Store 上的 App])
* [https://github.com/jbtule/cdto GitHub - jbtule/cdto: Finder Toolbar app to open the current directory in the Terminal (or iTerm, X11)]
* [https://github.com/jbtule/cdto GitHub - jbtule/cdto: Finder Toolbar app to open the current directory in the Terminal (or iTerm, X11)]
* [https://blog.gtwang.org/mac-os-x/open-terminal-here-in-mac-os-finder/ Mac OS 在 Finder 的目前目錄中開啟終端機 - G. T. Wang]


=== Open a Finder from the current Command Terminal directory ===
Keyin {{kbd | key=open . }} on the terminal prompt


Further reading
== Further reading ==
* [http://www.petri.co.il/add_command_prompt_here_shortcut_to_windows_explorer.htm Add Command Prompt Here Shortcut to Windows Explorer]
* [http://www.petri.co.il/add_command_prompt_here_shortcut_to_windows_explorer.htm Add Command Prompt Here Shortcut to Windows Explorer]


== References ==


<references />


[[Category:Windows]] [[Category:Mac]] [[Category:Software]]
[[Category:Windows]] [[Category:Mac]] [[Category:Software]]

Revision as of 10:24, 24 November 2017

Quick to open the command prompt/terminal window.


OS: Win Os windows.png

Open a Command Prompt/Terminal from the current File Explorer directory

  • Good.gif (1) Press Keyin alt + d to switch to the path bar of file explorer. (2) Enter cmd in the PATH bar and press ENTER key to open the console window. Tested on Windows 7, 8, 10.[1][2]
  • cmdhere powertoy for windows xp
  • create the cmd.exe shortcut ( c:\windows\system32\cmd.exe ) and set the start location manually

Open a File Explorer from the current Command Prompt/Terminal directory

Keyin explorer . on the command prompt[3]

OS: macOS icon_os_mac.png

Open a Command Terminal from the current Finder directory

Open a Finder from the current Command Terminal directory

Keyin open . on the terminal prompt

Further reading

References