> Date: Mon, 28 Feb 2005 09:14:58 -0500 > From: "Paul D. Smith" <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED], [email protected], [EMAIL PROTECTED] > > bk> The environment variable: > > bk> OS=Windows_NT > > bk> is what you're looking for. > > I'm not sure relying on an environment variable for something as basic > as this is the best way to go
Indeed, I'd advise against it as well. I'm sure there's a Windows system call to find the version of the OS. I think it's better to use that, since cmd.exe becomes smarter and feature-rich with every new version of Windows (something that for some reason Microsoft doesn't bother advertising well enough, and so many people simply don't know about the new features). _______________________________________________ Make-w32 mailing list [email protected] http://lists.gnu.org/mailman/listinfo/make-w32
