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.
- Is my url correct ?
- how can i give orders to my windows ?
Thanks for your answers