--f46d043c7c1ee03f6c04ac11f6a8 Content-Type: text/plain; charset=ISO-8859-1 This text is a top post. The convention here is to bottom post :) On Sat, Sep 3, 2011 at 5:27 PM, Jeffrey Smith <jesmith2095 / gmail.com> wrote: > Hello Hassan, > > 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. > > Jeff > > What do these give you? (run from the script, not from irb) p File.exist?(variable) p File::SEPARATOR p File.expand_path(__FILE__) p Dir.pwd --f46d043c7c1ee03f6c04ac11f6a8--