i know that this question was asked million times, but in all the threads the solution was good for the poster not for me!
i've written a bunch of scripts and as i want to avoid the mess, i put them in a custom folder inside /maya/version/scripts. Then modified the maya.env file (it is empty) and put this line:
MAYA_SCRIPTS_PATH = C:\Users\myname\Documents\maya\2013-x64\scripts\folder
i restart maya, source file.mel i get an error:
// Error: source file.mel; //
// Error: Cannot find file "file.mel" for source statement. //
i check my env path with : getenv MAYA_SCRIPTS_PATH
my custom path is not there in the returned list.
i used slashes, back slashes, doubled them....no result.
am i missing something?