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: Open URLs with # using cygstart.exe


On Fri, Jul 13, 2012 at 2:06 PM, Alexander Konovalov  wrote:
> Dear Cygwin experts,
>
> I am trying to open the exact location in the html file using my default
> browser with the command of the form
>
> cygstart.exe file:///C:/somepath/doc/ref/chap31.html#X84F59A2687C62763
>
> However, the anchor is ignored, so instead of going to the exact location
> it opens the file and stays on the top of the page.

Hi Alexander,

You are doing better than me. For me, cygstart interprets the anchor
as part of the filename.

$ cygstart file:///www/pages/html401/sgml/dtd.html#inline
Unable to start 'C:\cygwin17\www\pages\html401\sgml\dtd.html#inline':
The specified file was not found.

Have you tried

cygstart.exe 'file:///C:/somepath/doc/ref/chap31.html#X84F59A2687C62763'

(note the single quotes) ?


Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

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