Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: rboccuzziThere isn't currently a way to create a directory in BRAINscript; you would need to use the Java or Python node to do it.
If you use the Python Filter node, the code would be pretty simple. You would want to add the line:
import os
at the top, right under the other import statement, and you could add something like the following (properly indented) as the first line in the handleRecord function:
os.mkdir(x['dirFieldName'])
assuming the directory to make is in the field called "dirFieldName'
Cheers
Rich