Thanks, this is much better.  An alternative might be to _always_ parse "gms" and `goto Lerror` or give a custom error on non-windows platforms.