in reply to Does $? work in NT?

Not all commands under Windows use reasonable exit status values.

I suggest you generate cases that work and fail and see what values that particular compiler uses for exit values (what ends up in $?) for the different cases to see if you can figure out how to determine success or failure from $?.

        - tye (but my friends call me "Tye")