Setting the temporary file path
To set the temporary file path go to File -> Options.

Select the Paths tab.

Click the button next to the Temporary File path field.

Navigate to the directory where you wish to temporarily save your code.

Click Save. The Path is saved to the settings file. All code in the Code Window will be saved to this file until further notice.