Reputation: 143
I am trying to open image files, pdf files and music files using Cygwin, a terminal that provides Linux functionality in Windows. So far I have not successfully executed a command that would accomplish what I want. I can only open text files at this moment using vim text editor.
Edit: Thanks for the comments. I am looking to open files using appropriate windows applications. Also, I do not know how I can figure out whether XServer is already installed and why would I need XServer to resolve my issue in the first place.
Upvotes: 2
Views: 1884
Reputation: 34873
Use the cygstart
utility, e.g.,
cygstart foo.bmp
will open up the image file in Paint.
It’s in the cygutils
package, which I believe is installed by default. It has a man page that shows that you can use it to open URLs in your browser, among other things.
Upvotes: 4