[CM] How to create directory programmatically?
Kjetil Matheussen
k.s.matheussen at gmail.com
Thu Aug 1 11:56:06 PDT 2024
On Thu, Aug 1, 2024 at 4:01 PM Kenneth Flak <kennethflak at protonmail.com> wrote:
>
>
> Hi,
>
> How can I create a directory programmatically? I have this (dir is
> defined earlier in the code):
>
> (if (not (directory? dir))
> (make-directory dir))
>
> but make-directory is, unfortunately, not an S7 function.¨
Don't know if it's programmatically enough, but this should work:
(system (string-append "mkdir " dir))
More information about the Cmdist
mailing list