From: Gavin Sinclair Date: 2003-10-09T07:46:26+09:00 Subject: Re: SEPARATOR doesn't work On Thursday, October 9, 2003, 1:56:56 AM, Robert wrote: > Hi, > I'm using ruby-win32 1.6 and I'm trying to get the Path-separator ( eg. / > or \ ) to wirte protable programs > However > File.SEPARATOR > SEPARATOR > $SEPARATOR > Dir.SEPARATOR > all return nil. What's wrong File.join(elt, elt, elt) is a handy way of achieving this (where elt is a path element). Gavin