Highor Posted March 4, 2005 Share Posted March 4, 2005 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 Link to comment Share on other sites More sharing options...
D.Celt Posted March 4, 2005 Share Posted March 4, 2005 Put the command into a batch file then put that into the startup folder.Welcome to the forum Link to comment Share on other sites More sharing options...
Highor Posted March 4, 2005 Author Share Posted March 4, 2005 is there no regedit key's for it?and thanks xD Link to comment Share on other sites More sharing options...
jmedwid Posted March 4, 2005 Share Posted March 4, 2005 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 Link to comment Share on other sites More sharing options...
Highor Posted March 4, 2005 Author Share Posted March 4, 2005 thnx Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now