This utility allows you to create menus by automatically running DXL from a network file. This allows menu creation DXL to be deployed and updated on a network drive without updating every client.
Copy the source code and save to a file called runNetworkFile.dxl, then copy this file to any of the menu directories listed above, according to where you want the extra menus to appear. Edit the MY_DXL_FILE file path constant to specify the location on the network of the dxl file to build the extra menus.
// Create Extra menus by automatically running DXL from a network file. /* Create Extra menus by automatically running DXL from a network file. This allows menu creation DXL to be deployed and updated on a network drive without updating every client. Copy this file to any of the following directories on the client, according to where you want the extra menus to appear. Edit MY_DXL_FILE to specify the location of the DXL file on the server. doorshome /lib/dxl/config/baseWindowMenuFiles doorshome /lib/dxl/config/descfiles doorshome /lib/dxl/config/descPopupFiles doorshome /lib/dxl/config/explorerListPopupFiles doorshome /lib/dxl/config/explorerTreePopupFiles doorshome /lib/dxl/config/formalFiles doorshome /lib/dxl/config/formalPopupFiles doorshome /lib/dxl/config/linkFiles doorshome /lib/dxl/config/linkPopupFiles Tony Goodman 1-June-2005 */ const string MY_DXL_FILE = "\\\\server\\path\\extraMenus.dxl" /************************** MAIN ***************************/ bool isFile(string fn) { Stat s = create fn if (null s) return false if (regular s) { delete s return true } delete s return false } if (isFile MY_DXL_FILE) { eval_("#include <" MY_DXL_FILE ">\n") }