How do I create a bank folder structure with a script?

I want to be able to input a custom folder structure (f.e. \packs\common_extra_sounds\Sound\Mobile\common_extra_sounds.bank) into a script so it will generate all the folders and the bank. How do I do that?

Hi,

An option may be setting the custom path in the build preferences:

Let me know if this works.