Alfresco bat script generated can be more organised and can be used by all..
Refactored setenv could be some thing like this.. Same could be used by other batch files in
D:\Apps\java\cms\Alfresco\bin. Currently it is not the case.
rem ##### JAVA ENV #####
set JAVA_HOME=D:\Apps\java\cms\Alfresco\java
set ALF_HOME=D:\Apps\java\cms\Alfresco
rem ##### IMAGEMAGICK ENV #####
set MAGICK_HOME=%ALF_HOME%\imagemagick
set MAGICK_CODER_MODULE_PATH=%MAGICK_HOME%\modules\coders
set MAGICK_CONFIGURE_PATH=%MAGICK_HOME%\config
rem ##### MYSQL ENV #####
set MYSQL_HOME=%ALF_HOME%\mysql
set PATH=%MAGICK_HOME%;%JAVA_HOME%\bin;%MYSQL_HOME%\bin;%PATH%