Advertisement
Guest User

Untitled

a guest
Sep 15th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. > SET password=a^b
  2. > ECHO %password%
  3.  
  4. > run the_name the_pass^word
  5.  
  6. > run the_name "the_pass^word"
  7.  
  8. java...config.user_name=the_name config.password="the_pass^word"
  9.  
  10. java MyClass username=%~1 password=%~2
  11.  
  12. > run mr_clean puke^^^^boy
  13.  
  14. > run mr_clean "puke^^boy"
  15.  
  16. java MyClass username=mr_clean password=puke^boy
  17.  
  18. e.g.: my_batch.cmd the_pass^^^^word
  19.  
  20. @echo off
  21. setlocal Enabledelayedexpansion
  22.  
  23. set variabl=-^^"^^-
  24. set variabl
  25. echo delayed !variabl!
  26. echo percent %variabl%
  27.  
  28. --- Output ---
  29. variabl=-^"^^-
  30. delayed -^"^^-
  31. percent -"^-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement