Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: localhost.localdomain: ronald owned process doing -bs
Date: Mon, 24 Mar 2003 10:54:46 +0100 (CET)
From: Ronald Landheer-Cieslak <ronald@landheer.com>
X-X-Sender: ronald@localhost.localdomain
To: Kodaj Bence <kodaj@freemail.hu>
cc: cygwin@cygwin.com
Subject: Re: Starting .exe: DOS prompt OK, double-click not
In-Reply-To: <freemail.20030222161027.97148@fm8.freemail.hu>
Message-ID: <Pine.LNX.4.44.0303241052310.850-100000@localhost.localdomain>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Sat, 22 Mar 2003, Kodaj Bence wrote:
[sbip]
> (The actual Tcl/Tk installation on my machine is ActiveTcl 8.4., but
> that's not really important.)
Windows doesn't understand POSIX paths..

> Now, when I double-click on OurApp.exe in Windows Explorer, I get the 
> following error message from wish:
> Error in startup script couldn't read file
> "/cygdrive/c/OurAppFolder/OurScript.tcl": no such file or directory
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is a POSIX path.
You can translate it to a Windows path using the Cygwin API call 
cygwin_conv_to_win32_path

See http://cygwin.com/cygwin-api/func-cygwin-conv-to-win32-path.html for 
details

HTH

rlc


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

