I'm trying to design some validation scripts for an environment. One thing I want to check for is whether a script named "foo" is earlier in the path than a file named "foo.exe". I already have tools for parsing and searching the PATH, but when Cygwin reports that it found a "foo" in my path, I'm having trouble figuring out exactly what the file name is, or what kind of file it is. The "type" command gives me a name without an extent, but the "file" command doesn't like that. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple