Directory structure modification from script

Hi!

I’m trying to modify the directory structure for some of my generated files from script, but to no success so far. I’ve been able to create and remove files, but the same trick didn’t work for directories. When I pass the directory path to studio.system.getFile(), the exists() function returns true, but I can’t do anything with it. I was using the remove() function.

EDIT

I’ve checked the permissions to the folder and they are 7777 - all enabled.

Are you able to post some code on what you are trying to accomplish and what you are seeing? It’s possible that the getFile() function isn’t behaving the way you are expecting it to behave.