delorie.com/archives/browse.cgi | search |
>> >Right. =A0That's why I thought that any suffix given in the target file >> >name should be sufficient to avoid appending the .exe suffix, but >> >apparently it isn't. =A0Probably we would need to check for any kind >> >of Windows executable suffix like .exe, .sys, .com. =A0I have to admit, >> >though, that I never saw a .src suffix for a Windows binary... >> >> Well, in this case we could just look for alphabetic suffixes. =A0But th= at's >> probably too kludgy. > > Worth a try, at least. What about using the PATHEXT environment variable as a source for possible extensions? Chris --=20 Chris Sutcliffe http://emergedesktop.org -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |