Ryan Davis wrote in post #1010583: > On Jul 13, 2011, at 14:51 , Simon Harrison wrote: > > > What you really want to execute is: > >> (1..100).each do |num| >> FileUtils.mkdir "Prefix-%03d" % num >> end > > which is just syntactic sugar for: Thanks for clearing that up, Ryan. Out of curiosity what was the end of the last line above? -- Posted via http://www.ruby-forum.com/.