From: Fleck Jean-Julien Date: 2009-08-13T23:46:11+09:00 Subject: Re: newbie question making a folder with ruby Hello, 2009/8/13 Simon Staton : > 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 Have a look at Dir.mkdir and File.exist? Cheers, -- JJ Fleck PCSI1 Lycée Kleber