I guess that somewhere in the cygwin source there is such a trick, but I don't know where looking for. Other possibility: can `stat' in CYGWIN say wether `foo' is a true program (`foo.exe') ? Thanks in advance, Jerome BENOIT -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe@sourceware.cygnus.com