Advertisement
Guest User

Untitled

a guest
Aug 12th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.88 KB | None | 0 0
  1. REM v 4.1 > bipedal0@gmail.com
  2. @echo off
  3. color 0c
  4. cd C:\
  5. if exist FUSION goto FUSIONTRUE
  6. mkdir C:\FUSION
  7. :FUSIONTRUE
  8. cd C:\FUSION
  9. cls
  10. echo Bipedal's JPG/PNG/SWF + RAR Fusion script
  11. echo (Modified to add BMP, GIF and ZIP functionality by Kenjoki)
  12. echo.
  13. echo.
  14. echo Put the 2 files to be fused in "C:\FUSION".
  15. pause
  16. cls
  17. if exist *.rar goto RAR
  18. if exist *.zip goto ZIP
  19. cls
  20. echo Error: Archive not found.
  21. echo Check "C:\FUSION" and make sure a RAR or ZIP file is present.
  22. pause
  23. exit
  24. :RAR
  25. if exist *.jp*g goto JPG
  26. if exist *.png goto PNG
  27. if exist *.bmp goto BMP
  28. if exist *.gif goto GIF
  29. if exist *.swf goto SWF
  30. cls
  31. echo Error: Image not found.
  32. echo Check "C:\FUSION" and make sure a JPG/PNG/BMP/GIF/SWF file is present.
  33. pause
  34. exit
  35. :ZIP
  36. if exist *.jp*g goto JPG2
  37. if exist *.png goto PNG2
  38. if exist *.bmp goto BMP2
  39. if exist *.gif goto GIF2
  40. if exist *.swf goto SWF2
  41. cls
  42. echo Error: Image not found.
  43. echo Check "C:\FUSION" and make sure a JPG/PNG/BMP/GIF/SWF file is present.
  44. pause
  45. exit
  46. :JPG
  47. copy /b *.jpg + *.rar FUSED.jpg
  48. cls
  49. echo JPG/RAR successfully fused.
  50. pause
  51. exit
  52. :PNG
  53. copy /b *.png + *.rar FUSED.png
  54. cls
  55. echo PNG/RAR successfully fused.
  56. pause
  57. exit
  58. :BMP
  59. copy /b *.bmp + *.rar FUSED.bmp
  60. cls
  61. echo BMP/RAR successfully fused.
  62. pause
  63. exit
  64. :GIF
  65. copy /b *.gif + *.rar FUSED.gif
  66. cls
  67. echo GIF/RAR successfully fused.
  68. pause
  69. exit
  70. :SWF
  71. copy /b *.swf + *.rar FUSED.swf
  72. cls
  73. echo SWF/RAR successfully fused.
  74. pause
  75. exit
  76. :JPG2
  77. copy /b *.jpg + *.zip FUSED.jpg
  78. cls
  79. echo JPG/ZIP successfully fused.
  80. pause
  81. exit
  82. :PNG2
  83. copy /b *.png + *.zip FUSED.png
  84. cls
  85. echo PNG/ZIP successfully fused.
  86. pause
  87. exit
  88. :BMP2
  89. copy /b *.bmp + *.zip FUSED.bmp
  90. cls
  91. echo BMP/ZIP successfully fused.
  92. pause
  93. exit
  94. :GIF2
  95. copy /b *.gif + *.zip FUSED.gif
  96. cls
  97. echo GIF/ZIP successfully fused.
  98. pause
  99. exit
  100. :SWF2
  101. copy /b *.swf + *.zip FUSED.swf
  102. echo SWF/ZIP successfully fused.
  103. pause
  104. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement