In the default windows command prompt you can open a file from the command prompt by entering the name. See Open file with default application from command line.

Is there an equivalent in the MinGW Bash prompt?

  • See this link for first time usage.
    – Biswapriyo
    Dec 28, 2017 at 8:37
  • I don't understand.. Using the method from the link you provided, start works exactly the same for me using the MinGW bash prompt. "start ." opens the windows explorer in the current directory. "start ./file.7z" fires up 7zip with the file.. Jan 16, 2020 at 22:19

1 Answer 1


Not sure if this counts, but i noticed on windows 10 that, if you list the files in the MinGW terminal and double click to highlight the file of interest, you can then right-click and the 1st option is to open it (with the default application)...

It's not exactly typing it and hitting enter to open, but you do NOT need a windows-explorer open in that folder either (this seems very close to what is asked).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.