Simple ZIP JPG Joiner with Batch Programming

After reading Trick to hide files in JPG image at Cypherhackz, you can make it more interactive and fun with Batch Programming. This work with any ZIP or RAR files, but in order to get what you embeded/joint, you need to use WINRAR. What you need to do is:

1. Create a folder(Optional)
2. Jpg File(picture you want to use)
3. ZIP/RAR files(Make sure you already compress your secret file in it)
4. Put your Jpg and ZIP/RAR file in to your selected folder(step 1)
5. Open Notepad, paste this code and save it as joiner.bat(Make sure the extension is .BAT) in to your selected folder(step 1)

Code:

@echo off
echo =============================================
echo Simple Jpeg + RAR compiler
echo Batch Coded by fazlee.phixelgrafix.com
echo =============================================
SET /P frar= ZIP/RAR filename :
SET /P fpics= Jpg filename :
SET /P tcomp= Output filename :
copy /b %fpics% + %frar% %tcomp%
echo =============================================
echo COMPILING COMPLETED!
echo Output File: %tcomp%
echo =============================================
pause
cls

To use it, open your command prompt:

start > Run > type “cmd”

when command prompt is opened, type:

cd C:\your_folder_path

Then, type:

joiner

then follow the instruction that shown, please make sure you entered full file name with the extension, for example:

files.zip, files.rar, picture.jpg

Example

fazlee-joiner.jpg

That’s it… Good luck!

Update: Just thinking, why dont i code the extractor as well? :)

1. Open Notepad and paste this code, save it as extract.bat(Make sure the extension is .BAT) into same folder with your joint picture file.

@setlocal
@echo off
echo =============================================
echo Simple Jpeg + RAR Extractor
echo Batch Coded by fazlee.phixelgrafix.com
echo =============================================
set path=”C:\Program Files\WinRAR\”;%path%
SET /P fil= Picture File :
echo =============================================
unrar e %fil%
echo =============================================
pause
popd
cls

Use the same way to execute it, type “extract” in your command prompt and type in the joint picture/zip file.
* You must install WinRAR to make this work!

Example

fazlee-dejoiner.jpg

Popularity: 32% [?]

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google]

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

Dah lama tak try benda nih..hehe

The most important thing when applying for a credit card is reading all the details. If you don’t read the fine print you can get in trouble. You can find all the information on numerous credit card offers at

american express nest card balance transfers

Leave a comment

(required)

(required)