I tried to delete a directory that I created.

Dir.delete("C:/Users/Al Baker/Documents/Programming/RuBy/NewDir")

and got this:

Errno::EACCES: Permission denied - C:/Users/Al 
Baker/Documents/Programming/RuBy/
NewDir
        from (irb):62:in `delete'
        from (irb):62
        from C:/Ruby193/bin/irb:12:in `<main>'

-- 
Posted via http://www.ruby-forum.com/.