Alex Young wrote: > Peter Bailey wrote: >> pngthere = not File.exists?("L:/png/#{pngdir}/#{pngfile}") >> >> in IRB. . . . >> not File.exists?("L:/png/#{pngdir}/#{pngfile}") >> works fine. >> > Try: > > pngthere = !File.exists?("L:/png/#{pngdir}/#{pngfile}") Ahhh, simple, of course. You're a prince. Thanks ! -- Posted via http://www.ruby-forum.com/.