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

2016-07-08 Thread Gene Pavlovsky
Thanks for clarification, guys! Indeed it was my bad for including customary three forward slashes. Both file://C:/ and file://./C:/ do work with cygstart. Appreciate the help. On 7 July 2016 at 20:43, Andrey Repin wrote: > Greetings, Brian Inglis! > >> Andrey Repin writes:

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

2016-07-07 Thread Andrey Repin
Greetings, Brian Inglis! > Andrey Repin writes: >>Brian Inglis writes: >>> cygstart file://C:/ works - read the MS DN and MS KB articles on file URIs >>> and shlwapi >> Which isn't quite right. "file:" is a protocol, "//" is the foreign host > mark, "[.]/" is "current host's filesystem root". >>

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

2016-07-07 Thread Brian Inglis
Andrey Repin writes: >Brian Inglis writes: >> cygstart file://C:/ works - read the MS DN and MS KB articles on file URIs >> and shlwapi > Which isn't quite right. "file:" is a protocol, "//" is the foreign host mark, "[.]/" is "current host's filesystem root". > So, I guess, the CORRECT solution

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

2016-07-07 Thread Andrey Repin
Greetings, Brian Inglis! > Gene Pavlovsky gmail.com> writes: >> On 4 July 2016 at 04:10, Juan Miguel Navarro Martínez wrote: >>> On 2016-07-04 at 01:51, Gene Pavlovsky wrote: cygstart‘s manpage says it’s similar to the Windows command-line start command. However, cygstart

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

2016-07-05 Thread Warren Young
On Jul 5, 2016, at 12:10 PM, Brian Inglis wrote: > > cygstart file://C:/ works Right. The extra leading slash is causing the POSIX to DOS command conversion to effectively give you $(cygpath -m /c:/) rather than what you expected, which was $(cygpath -m c:/)

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

2016-07-05 Thread Brian Inglis
Gene Pavlovsky gmail.com> writes: > On 4 July 2016 at 04:10, Juan Miguel Navarro Martínez gmail.com> wrote: >> On 2016-07-04 at 01:51, Gene Pavlovsky wrote: >>> cygstart‘s manpage says it’s similar to the Windows command-line start command. >>> However, cygstart file:///C:/ results in an error

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

2016-07-05 Thread Gene Pavlovsky
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

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

2016-07-03 Thread Juan Miguel Navarro Martínez
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

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

2016-07-03 Thread Gene Pavlovsky
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