From: djberg96@... (Daniel Berger) Date: 2004-07-04T11:32:43+09:00 Subject: Re: Best way to determine if running on windows or unix-based system Carl Youngblood wrote in message news:... > I'm going to try using Ruby/DL to write a full-fledged ruby extension > for the curl library. I'd like it to work on both Windows and > Unix-based systems. I'm sure there are a lot of ways of doing this, > but what do you guys think is the best way to determine whether your > script is being called on a windows-based system or a unix-based > system? > > Thanks, > Carl if File::ALT_SEPARATOR # you're on Windows else # anything but Windows end Regards, Dan