From: Stefan Lang Date: 2005-12-30T06:36:58+09:00 Subject: Re: Path Separator and Windows On Thursday 29 December 2005 22:04, Justin Johnson wrote: > Using ruby 1.8.2 on Windows XP, the path separator used for things > like File.join is always / instead of \. Is there a way to force > ruby to use the correct path separator? For ruby, "/" *is* the correct path separator. AFAIK, ruby internally uses the slash as path separator on all platforms. I recommend to use slashes and convert them to backslashes when external programs are called. Perhaps a library can help you; searching for "win" on RAA: http://raa.ruby-lang.org/search.rhtml?search=win Kind regards, Stefan