Home > Archive > Windows 2000 track general > March 2002 > Best way to tell w2k & NT apart?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Best way to tell w2k & NT apart?
The Swede

2002-03-12, 6:08 am

Any good ideas how make a login script which could execute one program if it's running on a W2k box and another if it's running on a NT box?

The %OS% enviroment variable is set to "Windows_NT" on both systems so that doesn't work.

I guess I could look for a file that only exist on on a w2k system or vice versa (any sugggestions to which one?) and use "if exist" but that would be my last resort.
The Swede

2002-03-13, 7:08 am

Nevermind, solved it myself.
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net