Moved SC to a different machine - how to fix the image and document path?

Recently moved my SC from a hosted linux environment (where we had resource issues) to an in-house windows machine. In SETTINGS > FOLDERS all of my paths are correct. On each (and every) application they are not - In APPLICATION > SETTINGS > DOCUMENT PATH and APPLICATION > SETTINGS > IMAGE DIRECTORY - they kept the path of the old environment (and I’ve found that some of them have kept an old old v6 environment that they were created in). I thought that changing / saving the path in OPTIONS > SETTINGS > SYSTEM > SYSTEM FOLDERS would fix that - it did not. I thought there might be an option in “TOOLS > EXPRESS EDIT” to fix that - there is not.

I am not sure how these values are used at the application level; so maybe it is not even relevant - but I would think that it is. I am also concerned with deployment - because when I move the application to a demo or production environment - the path in that environment may again be different.

How do I update these without touching each and every application?

In general the location where scriptcase gets its image files and so on from is in the beginning of the main php file. So if you want it to be somewhere else you need to regenerate the code and redeploy (or edit the first parts of the generated code by hand before deploying, I advise against that tho).

I have regenerated and redeployed; it does not change the documents path at the application level - the path is correct in OPTIONS > SETTINGS but not in APPLICATION > SETTINGS > SETTINGS > DOCUMENTS PATH. (The images path, however, is accurate in both places)