From: Park Heesob Date: 2004-01-20T09:00:01+09:00 Subject: Re: detecting Win95/Win98/WinME Hi, ----- Original Message ----- From: "Joel VanderWerf" To: "ruby-talk ML" Sent: Tuesday, January 20, 2004 8:29 AM Subject: detecting Win95/Win98/WinME > > > Some of the File#flock arguments do not work on Win95/Win98/WinME > (namely LOCK_SH and LOCK_NB), so I'm looking for a way to detect what > kind of windows the process is running on. RUBY_PLATFORM and rbconfig.rb > do not seem to help. > > Any ideas? > > How about `ver` ? C:\>irb irb(main):001:0> `ver` => "\nMicrosoft Windows 2000 [Version 5.00.2195]\n" Regards, Park Heesob