I know that you can set the program folder using
shell.setPath("/myPrograms/")But this would not let me use the programs in /rom anymore and it would not let me be allowed to have seperate Folders for apis, programs etc.
I think the easiest way would be to just have a complete clone of the folder Structure of Rom somewhere and have both active, if that is possible.