Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I open a file in its default program by using the CLI in GitBash on Windows 7?

I'm currently using GitBash on Windows 7 to play around with the command line interface and would be very interested to know how to use GitBash to open a file/document in its default program.

like image 262
Michael Noffsinger Avatar asked May 18 '15 05:05

Michael Noffsinger


1 Answers

You can use start to open a file using its default application. For example:

start some-image.jpg
start some-document.pdf
like image 106
poke Avatar answered Oct 14 '22 06:10

poke



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!