Hi, Chuck wrote: > So, here's another approach that seems to work for me
I needed to #include <shellapi.h> to compile this with MinGW (to find SHGFI_EXETYPE) However, then I get (on Windows 2003) an 'Unable to write to standard error' with my CUI plink. Thanks, Colin -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple