Open Windows Explorer from Cygwin prompt

Christian Franke Christian.Franke@t-online.de
Thu Sep 8 19:24:00 GMT 2011


Vincent Rivière wrote:
> Christian Franke wrote:
>> Cygstart is not needed in this case. Explorer can be launched directly.
>> This works from cmd.exe and from any cygwin shell:
>>
>> explorer .
>
> You are right, this is equivalent in this specific case.
> But cygstart can also open Cygwin-style directories, explorer can't:
>
> cygstart ~
> cygstart /etc
> cygstart dir1/dir2
>
Of course, in these cases cygstart is actually more convenient than:

explorer "$(cygpath -w ~)"
explorer "$(cygpath -w /etc)"
explorer "$(cygpath -w dir1/dir2)"

:-)


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list