How to create a file system folder/directory

I have to dynamically create a file system folder (I'm using a Mac) with Igor.
How can I do that?

I could tell Finder to make the directory, but I'd prefer a native solution.

Thanks