Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > set _variable=foo
- > echo %_variable%
- foo
- > setx _variable %_variable%bar
- SUCCESS: Specified value was saved.
- > echo %_variable%
- foo
- Microsoft Windows [Version 6.1.7601]
- Copyright (c) 2009 Microsoft Corporation. All rights reserved.
- > echo %_variable%
- foobar
- setx _variable.old %_variable%
- reg delete HKCUEnvironment /F /V _variable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement