From: Lui Core Date: 2009-08-14T01:28:15+09:00 Subject: Re: newbie question making a folder with ruby Simon Staton wrote: > ok well the program I am in the middle of programming I need it to > generate a folder in the c: when it loads up. > > does anyone know how I can do this? and possibly make it with an if > variable so if there is already a folder in the c: called action3d dont > generate one but if there isnt then make one Yet another answer (command line): ruby -run -e mkdir newdirname or in rb code: `ruby -run -e mkdir newdirname` -- Posted via http://www.ruby-forum.com/.