Spaces in the path will cause problems. But I think that using the DOS version of the path will work.
--- Marina Hellermann <[EMAIL PROTECTED]> wrote: > > > Hi, > I'm experiencing the same problem, could you let me > know, when you find > proper solution? > Thanks a lot, > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of > [EMAIL PROTECTED] > Sent: Wednesday, August 23, 2006 9:58 AM > To: wtr-general@rubyforge.org > Subject: Re: [Wtr-general] Using file_field > > Could you send some example code on how to do this? > > I keep getting this error dialog with a really wacky > path. This is the > exact message I get: > > The path 'C:\projects\samples /Program > Files/Ruby/lib/ruby/site_ruby/1.8/water/SetFileDialog.rb > C:\Windows\win.ini' does not exist or is not a > directory. > > If you notice, the path is completely wrong and is a > combination of my > working directory and a pseudo-relative path to > where Ruby/Watir is > installed. > > Thanks. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Paul Rogers > Sent: Tuesday, August 22, 2006 6:29 PM > To: wtr-general@rubyforge.org > Subject: Re: [Wtr-general] Using file_field > > the browser wont let you put the filename into the > field directly - its > a security thing. > > Ive always used winclicker or autoit to fill in the > pop op > > Paul > _______________________________________________ > Wtr-general mailing list > Wtr-general@rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-general > _______________________________________________ > Wtr-general mailing list > Wtr-general@rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-general > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general