Guest User

FUSION Batch Script

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