L
Lloyd
I'm writing a batch file which will run on a multitude of
operating systems from Win98 to Millenium to Win2000 to
WinXP, and I need to use a DOS command in this batch file
which identifies the particular operating system.
Can anyone tell me which is the best command to do this?
I guess it's systemInfo? But I'm not sure if this only
works on DOS for WinXP? Also I'm wondering how to
specifically capture the OS name into a variable from
systemInfo, since there's a lot of other stuff it pulls.
Thanks for any suggestions on this.
Lloyd
operating systems from Win98 to Millenium to Win2000 to
WinXP, and I need to use a DOS command in this batch file
which identifies the particular operating system.
Can anyone tell me which is the best command to do this?
I guess it's systemInfo? But I'm not sure if this only
works on DOS for WinXP? Also I'm wondering how to
specifically capture the OS name into a variable from
systemInfo, since there's a lot of other stuff it pulls.
Thanks for any suggestions on this.
Lloyd