From: "Jan E." Date: 2012-06-14T20:28:58+09:00 Subject: Re: simple IO question; full path not working Kaye Ng wrote in post #1064561: > I fail to see anything wrong with the code. Can anyone help please? Like jake already said: Don't use unescaped backslashes in double quoted strings. The backslash is a special character. Your string "O:\Ruby\text2.txt" is actually interpreted as "O:Ruby ext2.txt" Because the first backslash is discarded (there is no \R sequence). And the \t is a tab. I'd always use simple slashes in paths. This works on Windows, too: 'O:/Ruby/text2.txt' -- Posted via http://www.ruby-forum.com/.