Here I have set the NUKE_PATH to "D:\Prefs\Nuke" and the HOME is set to the default place "C:\Documents and Settings\%USER%\Application Data"
In that preferences folder I have the following structure
fonts
gizmos
icons
plugins
tcl_commands
formats.tcl
init.tcl
menu.tcl
init.tcl is basically this
CODE
plugin_addpath [file dirname $program_name]/plugins
plugin_addpath "D:/Prefs/nuke/gizmos"
plugin_addpath "D:/Prefs/nuke/icons"
plugin_addpath "D:/Prefs/nuke/plugins"
plugin_addpath "D:/Prefs/nuke/tcl-commands"
plugin_addpath "G:/Projetos/[getenv JOB]/Comp/Gizmos/"
And on the menu.tcl I have
CODE
load [file dirname $program_name]/plugins/menu.tcl
as my first line so menus load on the correct order plus all the custom menus and default knob values.
By the way does anyone know how to effectively use Enviroment Variables to store project data?