>
> On UNIX systems uname may work pretty well. But I guess each
> system may
> have slightly different options. What'll probably happen is that you
> end up with a big if() statement testing $Config{osname} wtih
> each case
> having specific code to determine the specifics. But for that you need
> information. How do you get the currently running release of windows
> for example?
>
If you can open a command shell you can get the OS version with the
'ver' command under Windows:
C:\>ver
Microsoft Windows XP [Version 5.1.2600]
C:\>
This should work on 2000 or later. (Windows 2000 is 5.0.something.)
Regards,
Paul