User Environment Variable doesn't match

Hi there, I’m hope someone can help me. I have this assign activity:

userTempDir = Environment.GetEnvironmentVariable(“TEMP”).ToString

When I ran the process from the assistant in my remote VM I’m getting this in my execution log file:
“userTempDir = C:\Users\rparobot\AppData\Local\Temp\”

03:13:48.5388 Trace {“message”:“userTempDir = C:\Users\rparobot\AppData\Local\Temp\”,“level”:“Trace”,“logType”:“User”,“timeStamp”:“2021-06-07T03:13:48.5388073+00:00”,“fingerprint”:“6f9c5a06-4601-4b32-9430-482d862fe06f”,“windowsIdentity”:“EC2AMAZ-052STU4\rparobot”,“machineName”:“EC2AMAZ-052STU4”,“processName”:“RollIt v2”,“processVersion”:“1.0.1”,“jobId”:“02d1163f-1e29-46f5-9806-7ac008ef267”,“robotName”:“attended”,“machineId”:724,“organizationUnitId”:53877,“logF_BusinessProcessName”:“Framework”}

When I changed directory from the command prompt:
c:\cd %TEMP%
I landed in :
C:\Users\rparobot\AppData\Local\Temp\3
When I check from the command prompt by typing:
C:\set
I get:

TEMP=C:\Users\rparobot\AppData\Local\Temp\3

What’s the difference between %TEMP% vs Environment.GetEnvironmentVariable(“TEMP”).ToString

Thanks
image