delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/24/04:42:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT landheer DOT com>
X-X-Sender: ronald AT localhost DOT localdomain
To: Kodaj Bence <kodaj AT freemail DOT hu>
cc: cygwin AT cygwin DOT 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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019