I am in an IT lock-down situation so I have limited access to things. I am trying to run the latest version of Portable Google Chrome 6. It won't let me install extensions and I think it's because I can't access my TEMP and TMP files, and for other reasons as well, I want to be able to change the temp variables with my daily run batch file. My code works fine but works only when my CMD window is open:
:T
CALL :TEMP
GOTO CHOICE
:TEMP
ECHO.Remaping TMP Drive
IF NOT EXIST %HOMEDRIVE%\jnk MD %HOMEDRIVE%\jnk
SET TMP=%HOMEDRIVE%\jnk
SET TEMP=%HOMEDRIVE%\jnk
ECHO.TEMP=%TEMP% and TMP=%TMP%
ECHO.Done.
ECHO.
PAUSE
GOTO :EOF
So I am reading these tips and I just can't get it. How can I check where System variable are stored for my Current User (HKCU)