Is it possible bind exe to jpg?

Asked By 0 points N/A Posted on -
qa-featured

Hi all can I bind exe to jpg? I search Google and got no valuable information about it. If you know please provide me the detail information. Also describe the step-by-step process. I am not sure about it. I just heard one of my friend about it.

SHARE
Answered By 30 points N/A #165525

Is it possible bind exe to jpg?

qa-featured

 

Hi there Florey Howard,
 
If I've understood correctly what you are asking – yes, it is possible to bind together the .exe file and the .jpg file so the .jpg file will either only contain the .exe file or will act like one after clicking on it.
 
There are several ways to do that, I will give you the two that I think are the most simplest. 
 
1st method – jpg file that will act like the exe (both files has to be in the same folder).
 
  • Create a folder and copy the .exe file in it. Also, make sure your 'show hidden files' option is checked just as the option to show file extensions.
  • Right click on the .exe file and choose rename. Rename the extension of the file from .exe to .jpg. Windows will ask you if you are sure about this, confirm with YES.
  • Create a shortcut of the file you've renamed and give it another name. 
  • Right click the shortcut file and click Properties. 
  • Delete all the text in the Start field.
  • In Target field type the path to your CMD and the command to open the renamed .exe file. This should look like:  C:WINDOWSsystem32cmd.exe /*drive letter* *renamed exe file name*.jpg
  • Apply the changes and close the window.
  • In the properties of the shortcut file change the icon so it doesn't look like a shortcut.
  • In the properties of the renamed .exe file choose the hidden type to hide the exe.
 
2nd method – create the .jpg file that will contain the .exe file
  • Create a new folder and place both files you'd like to bind in it.
  • Select the .exe file and rar or zip it.
  • Open your command prompt clicking Start – Run, type cmd and press enter.
  • Once the console is up navigate to the folder you've created in step one using the line: 
    cd *path to a folder*
  • Next line to type is:
    copy /b *jpg_file_name*.jpg + *exe_file_name*.rar *jpg_file_name*.jpg
That would be it!
 
Best regards,
Drake Vivian
 

Related Questions