Wtxtcl is not a Cygwin program, but as what I do, the environment are same for both executions. The diffrence is the work directory. In /: $ wtxtcl /tornado/host/src/hutils/muntch.tcl > couldn't read file "host/src/hutils/munch.tcl": no such file or directory In /tornado $ wtxtcl /tornado/host/src/hutils/muntch.tcl (OK) -----Original Message----- From: Igor Peshansky [mailto:[EMAIL PROTECTED] Sent: 2007年7月7日 10:39 To: Liping Zeng Cc: cygwin@cygwin.com Subject: Re: Problem: Why the file in the mount (as system) directory can't be found?
On Sat, 7 Jul 2007, Liping Zeng wrote: > I mount D:\tornado to /tornado with following: > $ mount -s "D:\tornado" /tornado > When I exectue command in /: > $ wtxtcl /tornado/host/src/hutils/muntch.tcl with following result > couldn't read file "host/src/hutils/munch.tcl": no such file or directory > but after I change my work directory to /tornao, and do it again, it work > well. > I don't know why, can anyone help me? Because most likely wtxtcl is not a Cygwin program, and thus does not understand Cygwin mounts (or Cygwin POSIX paths, for that matter). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] | [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Belief can be manipulated. Only knowledge is dangerous. -- Frank Herbert -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/