From: Stefan Lang Date: 2005-10-18T04:14:19+09:00 Subject: Re: inner string to path On Monday 17 October 2005 21:08, G�bor SEBESTY�N wrote: > How can I easily conver a string containing path > > str = "/home/my folder/�ccented l�tt�rs/having (this)" > > to one that > > `ls #{str}` > > UNIX command can understand? It will surely fail at least due to > parenthesis and space characters. Usually it is enough to put quotes around the path: `ls '#{str}'` HTH, Stefan