Sort Render Elements
This script will place your Render Element files in named subfolders according to where the main pass is stored and what the name of the Render Element is.
Main pass is set to render to:
Rendered Elements like Alpha, Specular, Diffuse etc. will be placed at:
Enable this script as a Pre-Render script:
Render Setup Dialog -> Common Tab -> Scripts -> Pre-Render -> browse for the script file
Code by Tollef Roe Steen, idea by Knut Arne Lindeland