From: Austin Ziegler Date: 2005-12-30T06:33:23+09:00 Subject: Re: Path Separator and Windows On 29/12/05, 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? Unless you're interacting with external programs, you don't need it to. When you do, a simple .gsub(%r{/}) { "\\" } will do. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca