Advertisement
hiro1357

cat.bat

Apr 27th, 2015
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.38 KB | None | 0 0
  1. @echo off
  2. if {%1} equ {} (
  3. rem find /v ""
  4. type con
  5. ) else if {%1} equ {-} (
  6. rem find /v ""
  7. type con
  8. ) else (
  9.  
  10. if {%1} neq {} (
  11. type %1
  12. )
  13. if {%2} neq {} (
  14. type %2
  15. )
  16. if {%3} neq {} (
  17. type %3
  18. )
  19. if {%4} neq {} (
  20. type %4
  21. )
  22. if {%5} neq {} (
  23. type %5
  24. )
  25. if {%6} neq {} (
  26. type %6
  27. )
  28. if {%7} neq {} (
  29. type %7
  30. )
  31. if {%8} neq {} (
  32. type %8
  33. )
  34. if {%9} neq {} (
  35. type %9
  36. )
  37.  
  38. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement