Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. > set _variable=foo
  2.  
  3. > echo %_variable%
  4. foo
  5.  
  6. > setx _variable %_variable%bar
  7.  
  8. SUCCESS: Specified value was saved.
  9.  
  10. > echo %_variable%
  11. foo
  12.  
  13. Microsoft Windows [Version 6.1.7601]
  14. Copyright (c) 2009 Microsoft Corporation. All rights reserved.
  15.  
  16. > echo %_variable%
  17. foobar
  18.  
  19. setx _variable.old %_variable%
  20. reg delete HKCUEnvironment /F /V _variable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement