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:
>>>Brian Inglis writes
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".
>> S
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 (o
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 file:///
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:/)
--
Problem reports: http:/
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 me
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
wrote:
> Even if i
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-lin
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 comman
9 matches
Mail list logo