batch golf

a guest Mar 8th, 2017 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @set Z=@set
  2. %Z%/ps=
  3. %Z%t=%s%
  4. %Z%r=
  5. :l
  6. %Z%s=%s%
  7. %Z%r= %r%%t:~-1%
  8. %Z%t=%t:~,-1%
  9. @if not "%t%"=="" goto l
  10. :g
  11. %Z%r=%r:~1%
  12. @echo %s%%r%
  13. %Z%s= %s:~,-1%
  14. @if not "%r%"=="" goto g
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand