G-Rath

example of GOTO

Sep 1st, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.12 KB | None | 0 0
  1. @echo off
  2. echo example of goto
  3. pause
  4. set i=0
  5. :show
  6. cls
  7.  
  8. set /a i=(%i%+1)
  9. echo example
  10. echo %i%
  11. goto show
  12. pause
Advertisement
Add Comment
Please, Sign In to add comment