What\'s the best way of concatenating binary files using Powershell? I\'d prefer a one-liner that simple to remember and fast to execute.
The best I\'ve come up with
It's not Powershell, but if you have Powershell you also have the command prompt:
copy /b 1.bin+2.bin 3.bin
As Keith Hill pointed out, if you really need to run it from inside Powershell, you can use:
cmd /c copy /b 1.bin+2.bin 3.bin