Spiga

bind files using copy command / make your own file binder




This post is all about using copy command used to bind two (or more) files and hence making a small file binder which you can use in day to day life.

I will also show you how can we use this method to hide your personal data (exclusively "that" videos) from normal use of your sister or brother !!!

I read use of this command somewhere on internet and hence , as usual , had a good batch file for normal use.

Lets begin...




Commands used :
copy /b file1+file2 file3



What does this command do ?
This command copies any file1 and file2 to give output as file3
.
"/b" switch is used to indicate a binary file.




Gimme the program code ?
Here's the small but useful code for simple and easy file binder.
(just copy the below code and paste into notepad >>file >> save as >> anything.bat >> then run it)



*************************************

@echo off

title Easy files binder

echo.

color f0
cls


:f


echo.


echo Enter the file name of the first file with extension (example: MyArchive.rar)


set/p "fil=>"


goto cf

:cf


cls


if exist %fil% (


goto i


) else (


echo.


echo No such file found in this folder !!!


goto f


)


:i


echo.


echo Enter the name of the second file with extension (example: MyImage.jpg)


set/p "img=>"


goto ci

:ci

cls


if exist %img% (


goto o


) else (


echo.


echo No such file found in this folder !!!


goto i


)


:o


echo.



echo Enter the name of the output file with extension (example:myoutput.jpg)


set/p "out=>"


:mydata


cls


echo.


echo You entered the following data:


echo Archive file name = %fil%


echo Image file name =%img%


echo Output file name =%out%


echo.


echo If the information is correct then


pause


echo.


echo Please hold your breath for some time. The time taken by binding process will
depend on size of your files.


echo.


echo binding started...


copy /b "%fil%"+"%img%" "%out%"


echo.


echo bye bye !!!


echo.


echo The binder will now exit.


pause


********************************





I saved the code as batch extension, What's next ???
Now you need 3 things :

  • 1] file 1 (example: textfile_1.txt)
  • 2] file2 (example: textfile_2.txt)
  • 3] nice output file name ( example: blablabla.txt)
1] Now copy the files "file 1 and file 2" in the folder where you just saved the batch code (anything.bat)

2] Run the batch file.

3] It will ask 1st filename >> enter name of file 1 with extension (textfile_1.txt) >> press enter

4] It will ask the second one >> enter second too (textfile_2.txt) >> press enter

5] Now enter the output file name as per your wish (blablabla.txt) >> press enter

Now you can see a new file of name blablabla.txt is made.
This file is made by binding file 1 & file 2.




But where is my personal data securing part ???
Now lets begin to secure your data. install winrar first.
  • collect all your data (videos) in one folder.
  • select all >> right click >> add to archive >> enter archive name >> ok
  • now bring any image in same folder (eg: mypic.jpg)
  • copy batch file in same folder and run it.
  • enter first file name as archive_name.rar
  • enter the second name as image name (mypic.jpg)
  • now enter the output name as output.jpg (remember extension should be .jpg)
Now look for the output file in the folder (output.jpg).
double click this file. Image will open.
don't worry.



Now here comes the main thing.
Open winrar from start >> all programs.
goto file >> open archieve >> make files of type as "all files" >> browse through the directories and locate the output file (output.jpg)

Here you can see all your videos hidden in that image.select >> extract >> enjoy.




Any other uses of it ???
Well, this file binder can also bind parts of a movie. But cannot bind one movie to another.
Video binding may or may not work. It worked in some cases. And in some , it doesn't.




I still didn't understand anything , give me a download !!!
I know you are lazy to do all the cumbersome work.
here's download link.

If you liked this article, you might like reading below article too !



Widget by Hoctro | Jack Book

0 comments: