Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: Tor Lillqvist <tml@iki.fi>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14607.12925.710000.794993@gargle.gargle.HOWL>
Date: Tue, 2 May 2000 22:54:37 +0300 (FLE Daylight Time)
To: Olaf Bachmann <obachman@mathematik.uni-kl.de>
Cc: xemacs-nt@xemacs.org, cygwin@sourceware.cygnus.com
Subject: Opening local URL in browser
In-Reply-To: <m12mdQV-000F1SC@nepomuck.mathematik.uni-kl.de>
References: <m12mdQV-000F1SC@nepomuck.mathematik.uni-kl.de>
X-Mailer: VM 6.73 under Emacs 20.4.1

Olaf Bachmann writes:
 >   ShellExecute(NULL, "open", NULL, "index.html", "d:\\home\\obachman\\tmp\\", SW_SHOWDEFAULT);

I think that should be either:

  ShellExecute(NULL, "open", "file:///X|/path/to/index.html", NULL, "d:\\home\\obachman\\tmp\\", SW_SHOWDEFAULT);

where X is the drive letter, and /path/to/ is the directory where
index.html is, with backslashes replaced by slashes, or:

  ShellExecute(NULL, "open", "X:\\path\\to\\index.html", NULL, "d:\\home\\obachman\\tmp\\", SW_SHOWDEFAULT);

with a full normal Windows pathname.

HTH,
--tml


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

