TMPDIR parameter does not work on windows?

Tested on win2012,win2019,win11

  1. I set SET TMPDIR=c:\tmp
    Nothing happened, the temporary files end up in the old path (appdata\local\temp)

  2. I set the parameter in the system itself (permanent). Same thing.

Does TMPDIR work on Windows systems?

On Windows, the correct environment variable is TMP or TEMP.

1 Like