Starting .exe: DOS prompt OK, double-click not
Ronald Landheer-Cieslak
ronald@landheer.com
Mon Mar 24 12:15:00 GMT 2003
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/
More information about the Cygwin
mailing list