Open command window here: Difference between revisions

From LemonWiki共筆
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:


=== Open a File Explorer from the current Command Prompt/Terminal directory ===
=== 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>
* 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>
* Keyin {{kbd | key=explorer .. }} on the command prompt, it will open the upper folder in the file explorer


== OS: {{Mac}} ==
== OS: {{Mac}} ==
Line 20: Line 21:


=== Open a Finder from the current Command Terminal directory ===
=== Open a Finder from the current Command Terminal directory ===
Keyin {{kbd | key=open . }} on the terminal prompt
* Keyin {{kbd | key=open . }} on the terminal prompt, it will open the current folder in the finder
* Keyin {{kbd | key=open .. }} on the terminal prompt, it will open the upper folder in the finder


== Further reading ==
== Further reading ==

Revision as of 10:38, 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]
  • Keyin explorer .. on the command prompt, it will open the upper folder in the file explorer

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, it will open the current folder in the finder
  • Keyin open .. on the terminal prompt, it will open the upper folder in the finder

Further reading

References