Error when installing packages

I am trying to install packages in a new installation of julia. I always get this error.
Julia_Capture
ERROR: ArgumentError: “H:\Temp\Admin” is not a directory. The problem is that I don’t even have a hard disk H drive. I understand that the problem is that this path does not exist but I have not found how to modify the path where the package will be installed.

I conjecture that your TMP or TEMP or similar environment variable points to H:.

It looks like Pkg is trying to create a temporary file using tempdir(). Cf

https://docs.julialang.org/en/v1/base/file/#Base.Filesystem.tempdir

Thanks a lot. I modify the TMP environment variable to define the correct path.