From: Jeffrey Smith Date: 2011-09-04T08:26:25+09:00 Subject: Re: opening a file with variable name I changed the slashed and escaped the file path ( I noticed after the fact that my path has spaces), and no change in the error at all. Jeff On Sep 3, 2011, at 6:48 PM, Hassan Schroeder wrote: > On Sat, Sep 3, 2011 at 3:27 PM, Jeffrey Smith wrote: > >> Thanks for the quick response. When I do a puts "path", this is what I get: \\faxgw04\c$\myapp\jobs\Processed\7.7.7\App Fax Service\sd3n4v1.20110902.1024.55435838.JMym.txt". This is the path to the file I want to open. > > ? What OS is this? Regardless, try changing all those '\' to '/' first :-) > > -- > Hassan Schroeder ------------------------ hassan.schroeder@gmail.com > http://about.me/hassanschroeder > twitter: @hassan >