Folder generated in codeblocks using a .ini file

How do I generate a folder in code blocks using a script? I have some projects where the folders are generated in code blocks by running a script. But now I’m unable to do that. Help needed!