March 4, 200521 yr Hi,if i set a var like set word1=zz, it will be gone after a reboot.how can i set a var that stay after a reboot?is this possible?thanks
March 4, 200521 yr Put the command into a batch file then put that into the startup folder.Welcome to the forum
March 4, 200521 yr You can add a variable for a user to:HKCU\Environmentthere should be an entry for TMP and TEMP already in there. You do not need to use REG_EXPAND_SZ.You can add a variable for the System to:HKLM\CurrentControlSet\Control\Session Manager\EnvironmentThe GUI interface can be reached by going to Control Panel | System | Advanced | Environment Variables button.John
Create an account or sign in to comment