From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16318 invoked by alias); 13 Jul 2012 12:27:10 -0000 Received: (qmail 16304 invoked by uid 22791); 13 Jul 2012 12:27:07 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ob0-f171.google.com (HELO mail-ob0-f171.google.com) (209.85.214.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 Jul 2012 12:26:52 +0000 Received: by obqv19 with SMTP id v19so5114465obq.2 for ; Fri, 13 Jul 2012 05:26:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.29.38 with SMTP id g6mr1387535oeh.45.1342182411970; Fri, 13 Jul 2012 05:26:51 -0700 (PDT) Received: by 10.182.65.134 with HTTP; Fri, 13 Jul 2012 05:26:51 -0700 (PDT) In-Reply-To: References: Date: Fri, 13 Jul 2012 12:27:00 -0000 Message-ID: Subject: Re: Open URLs with # using cygstart.exe From: Csaba Raduly To: cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-07/txt/msg00265.txt.bz2 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