30 Mar
2005
30 Mar
'05
3:37 p.m.
At 01:52 PM 3/30/05 -0800, Trent Mick wrote:
[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.
Also, Cygwin under 98 won't execute .cmd files, or at least I couldn't get it to.