PDA

View Full Version : changing Global File location


jcox
08-07-2003, 10:37 AM
I am using ghosted systems to do our deployment and would like to know if there is a way to point the file locations (globals and App Options) to another location other than All User folder. I know it can be done on a project by project basis using command-line but can the default locations be move in a script?

kinook
08-11-2003, 09:32 AM
As you mentioned, you can specify on the command-line. Another way would be to explicitly load from an alternate location in the vbld_BuildStarting event or in a Run Script action, with script code like:

Application.Options.Load "filename"
Applications.Macros(vbldMacroGlobal).Load "filename"
...

This is also demonstrated in the last step of the Script.bld sample.