Hello, I was wondering if it was possible to create a folder via ZScript at all.
I’ve got a script that does batch processing of OBJ files, and it’s meant to dump the results out to a new folder - the problem is that the folder it’s trying to write out into may not exist yet.
It’s a valid path, if the folder existed, but I don’t want the user to have to manually create the folder, since that somewhat defeats the purpose of automating it!
I found a page referring to the ZScript FileUtils DLL, but the link to download it is broken (just redirects to the ZBrush homepage, where I can’t find any reference to this DLL), and there’s no indication of whether this was ever kept up-to-date with later ZBrush releases.
There’s nothing I can find in the ZScript Command Reference that allows folder creation, and there doesn’t even seem to be a way to call a command prompt to md the folder via DOS.
Does anyone know of a way to automatically create a folder via ZScript?
I’m beginning to think I’m going to have to start calling Windows DLLs (since by searching these forums it seems like that should be possible…)
Thanks,
-MoP