To create directory foo
in the current working directory:
(ensure-directories-exist "foo/")
It can also create a whole directory structure for you:
(ensure-directories-exist "/tmp/lisp/rulez/")
Note, the slash at the end is important, it won't work without it.
Another thing is that it's possible that you don't use EXT:MAKE_DIRECTORY
correctly. If you just pass to it a string with directory name then it won't work. You need to use it like this:
(ext:make-directory (make-pathname :directory '(:relative "foobar")))