1

I currently use three command-line Windows applications to backup, zip, and upload files: HoboCopy.exe, 7za.exe, and ncftpput.exe.

I was wondering if there were a way to somehow merge/combine those binaries into a single EXE without access to their source code.

I vaguely remember using an application years ago that could do this for DLLs, ie. merge an EXE and the DLLs it depended on, but can it be done with EXEs?

Thank you.

5
  • It can be done using a self-extracting exe, but that would mean it has to extract itself every time you want to run the program(s). What is the reason you want to group them as one exe?
    – LPChip
    Jul 31, 2018 at 10:30
  • Thanks. As an easier way to distribute the apps. Jul 31, 2018 at 10:43
  • Given that you do not make these apps, are you aware that the software might not be distributed like that?
    – LPChip
    Jul 31, 2018 at 11:07
  • 2
    Consider the licensing implications carefully before you try to bundle other applications like this. (I think that's what @LPChip is hinting at)
    – Attie
    Jul 31, 2018 at 11:27
  • Yup. :) That's what I'm hinting at.
    – LPChip
    Jul 31, 2018 at 12:18

1 Answer 1

0

Have you considered bat2exe? Create a new directory, copy in your executables, then add the following batch script with any name:

@echo off
dir /b *.exe
echo Enter what to execute:
set /p exec=
%exec%.exe
pause

Follow on-screen instruction from bat2exe. This may not be the most elegant solution, but should still work.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .