From: Hans Mackowiak Date: 2011-07-22T00:30:07+09:00 Subject: Re: How to replace "\" from string. no nick,s. your code is very wrong: 1. var is named wrong 2. gsub wants in this form 2 Strings not one Regex 3. it does not work because there is no "\\" inside path -- Posted via http://www.ruby-forum.com/.