How to create new folder

hello
how to create new folder /directory in ruby. how to check whether the
directory is exists. plz explain with example code

advance thx

narayana

Narayana Karthik wrote:

hello
how to create new folder /directory in ruby. how to check whether the
directory is exists. plz explain with example code

advance thx

narayana

sorry gentlemen

I found the answer for that sorry for making noise.
I am using Dir.mkdir(‘c:\india\newfolder’)

ok