If you run into problems (as I have) because LR CC needs 40GB of free space on C:\ to merge a panorama then the way to resolve this by getting LR CC to use another drive is rather simple.
First create a new directory on a drive with the required space. For the sake of this post, I've created a directory called "TEMP" on Z:
Next Find your "Lr" icon in the menu (or Desktop or...), right click, select "Properties".
This should give you a display which includes "Target". Replace the text in "Target" with something like this:
C:\Windows\System32\cmd.exe /S /c "SET TEMP=Z:\TEMP; SET TMP=Z:\TEMP; cd "C:\Program Files\Adobe\Adobe Lightroom" && start lightroom.exe"
This will result in your pretty Lr icon becoming that for cmd.exe but as it sets the TMP/TEMP environment variable before running LR, LR will not use C:\Users\Me\AppData\Local\Temp for temporary image rendering when building panoramas.
Performance? Large panorama merges are slow anyway
![Tongue :P](https://forum.luminous-landscape.com/Smileys/default/tongue.gif)