How to change temporary folder location on memory card?

I have a 256GB reader card. Write speed is 90MB/s, read speed is 170MB/s. How to change the temporary cache location on the memory card? My C drive has too much data.

I tried to try but it doesn’t work? The application only accepts the available hard drive in the machine.

Best Regards.