From: Fx Fx Date: 2008-01-10T19:43:04+09:00 Subject: [newbie] windows renaming... Hello, i'm beginning to use Ruby, but i can't find examples of renaming with the Dir class. I've tried a code lign like this : Dir.glob("C:\\Documents?and?Settings\\NET?DESIGN\\Mes?documents\\Mes?images\\*") { |name| `copy #{name} #{name.sub(/cadre/, "alias_")}`} but nothing happens. 1. Is my url correct ? 2. how can i give orders to my windows ? Thanks for your answers -- Posted via http://www.ruby-forum.com/.