[Bob Ippolito wrote]
Also important to consider: what happens to COMSPEC when you're using a cygwin shell? Will a cygwin shell run .cmd files?
(I don't really use Windows anymore...)
I don't know. Trying... Under the cygwin bash shell there *is* a TERM=cygwin environment variable that, I suppose, could be checked. I don't use the cygwin bash shell at all (and I don't think that people should, for various reasons including http://trentm.com/blog/?p=10). You *can* run .bat files (and I presume .cmd files as well) under Cygwin bash, but you have the specify the extension: i.e. the PATHEXT stuff doesn't work. As I said: > >I didn't really read the patch, so I can't give an opinion, but there I'm now worried that I am giving bad advice. :) Cheers, Trent -- Trent Mick TrentM@ActiveState.com