In Windows 7 Git Bash, is there a way to explore the directory at the current location?

ShellWindows 7CmdGit Bash

Shell Problem Overview


I would like to explore the folder in the Windows Explorer from the shell. I know a lot of people have been asking to Cmd here from a folder.

I'd like to do just the opposite and open a new window located at the current directory being browsed.

Shell Solutions


Solution 1 - Shell

To open Windows Explorer at the current folder, just enter:

explorer .

Solution 2 - Shell

Type start . - it will open Windows Explorer at the current location.

The start command acts like a double click, so use it to open files too:

start index.html

Solution 3 - Shell

If you type cmd into to Location Bar, Windows will open up a command line within the folder you are browsing.

Solution 4 - Shell

If you're coming from Mac OS X or Linux background, you can also create an alias in your .bash_profile to use the open command as you would do on other *nix environments.

Just add the following line to your ~/.bash_profile:

alias open="explorer ."

Then:

~/.bash_profile

Then you can use the open command to open the current folder.

Solution 5 - Shell

Windows: explorer .

Mac: open .

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionGreg K.View Question on Stackoverflow
Solution 1 - ShellPiotr PerakView Answer on Stackoverflow
Solution 2 - ShellreflogView Answer on Stackoverflow
Solution 3 - ShellUmur KontacıView Answer on Stackoverflow
Solution 4 - Shelluser390749View Answer on Stackoverflow
Solution 5 - ShellFinger Picking GoodView Answer on Stackoverflow