This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygstart.exe can't open file:///C:/


Juan, thanks for this, it does work. (on my system I setup `cygdrive`
to be `/mnt` using fstab, though).
But I think the C:/ syntax should be supported as well. After all, `ls
C:/` works correctly on Cygwin.
Don't you think?

On 4 July 2016 at 04:10, Juan Miguel Navarro Martínez
<juanmi.3000@gmail.com> wrote:
> Even if it's similar to Windows command-line, you are still in a POSIX
> system, and Cygwin use /cygdrive/ for all the drive letters.
>
> So for file:///C:/ you should use file:///cygdrive/c/
>
> On 2016-07-04 at 01:51, Gene Pavlovsky wrote:
>> cygstart‘s manpage says it’s similar to the Windows command-line start command.
>> It is indeed able to open http://example.com in the default browser.
>> However, cygstart file:///C:/ results in an error message:
>> Unable to start 'C:\cygwin\c\': The specified file was not found.
>> The Windows start command opens file:///C:/ links in the default
>> browser without a hitch.
>>
>> --
>> 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
>>
>
> --
> Juan Miguel Navarro Martínez
>
> GPG Keyfingerprint:
> 5A91 90D4 CF27 9D52 D62A
> BC58 88E2 947F 9BC6 B3CF
>
> --
> 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
>

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]