On Tuesday 03 May 2005 09:44 am, Robert Klemme wrote: > Dennis Mendelson wrote: > > Should have mentioned that I have tried using double-quotes in the > > following ways: > > > > "C:\Documents and Settings\test.txt"; and > > > >> puts "C:\Documents and Settings\test.txt" > > C:Documents and Settings est.txt > => nil > > Notice something? You need double backslashes in double quotes. > Alternatively use single quotes > Or just you forward slashes, the Ruby standard.