From: Tim Ferrell Date: 2005-09-08T04:53:04+09:00 Subject: Re: ZIP: Writing binary file fails Dmytro Bablinyuk wrote: > As for path separator I am using File::SEPARATOR if this is ok. e.g. > zipfile.file.open('bin' + File::SEPARATOR + 'eclipse.exe', 'w'){ |f| > .. > > Dimitry I may be wrong, but I believe you can just use forward slashes and ruby will handle it properly regardless of platform. Of course if you are generating paths for consumption outside of ruby then File::SEPARATOR is the ticket... Cheers, Tim