Change Coldfusion Temporary Files Location Used by GetTempDirectory()
I wanted to change the default location Coldfusion uses for temporary storage when using:
This meant changing the default location returned by GetTempDirectory()
EDIT %CFusion%\runtime\servers\coldfusion\SERVER-INF\jrun.xml Comment this line:
Add this key:
So that you have this:
<attribute name="temporaryDirectory">C:\ExampleCustomTempPath</attribute>
RESTART the Coldfusion Application service
NOTE: Coldfusion will create a subfolder in the temporary directory named wwwroot-tmp


