> Subject: [wtr-general] Re: Opening an Excel
file with a variable name> > > Actually this method won't work. The problem is
that File.join will join > the elements using a forward slash (/). The pathname
is being passed to > Excel, which truly requires that backslashes be used
Actually this method won't work. The problem is that File.join will join
the elements using a forward slash (/). The pathname is being passed to
Excel, which truly requires that backslashes be used in the filename.
I've argued that this is a bug in Ruby, but there it is.
Bret
LFIdnl wrote:
>
at could be going on? Thanks in
advance for any help.
- Shelton
> Date: Wed, 17 Dec 2008 00:36:06 -0800> Subject: [wtr-general] Re: Opening an
> Excel file with a variable name> From: sraniim...@gmail.com> To:
> watir-general@googlegroups.com> > > More useful> &g
More useful
File.join($drive,env,"Test_Results","#{$file_name}_Results.xls" )
On 17 дек, 00:20, "Darin Duphorn" wrote:
> Try \\
>
> $drive+"\\"+env+"\\Test_Results\\"+$file_name+"_Results.xls"
>
> -Original Message-
> From: watir-general@googlegroups.com
>
> [mailto:watir-gene...@google
Try \\
$drive+"\\"+env+"\\Test_Results\\"+$file_name+"_Results.xls"
-Original Message-
From: watir-general@googlegroups.com
[mailto:watir-gene...@googlegroups.com] On Behalf Of
jas.shel...@hotmail.com
Sent: Tuesday, December 16, 2008 3:08 PM
To: Watir General
Subject: [wtr-general] O