Page 1 of 1

Done: Export selection to a binary file without using clipboard

Posted: 02 Nov 2009 08:36
by Dwedit
Sometimes, I'd just like to be able to select a range of bytes, and export that range of bytes directly to a new file without using the clipboard. Sometimes what I've selected is over 500MB in size, and won't fit in the clipboard.

Re: Export selection to a binary file without using clipboard

Posted: 05 Nov 2009 02:49
by vincentlu
i need this function also.

If you can add command-line support is more better.

For example:
HxD /Extract Source.exe /StartOffset:0x1000 /EndOffset:0x5000 Target.exe
HxD /Extract Source.exe /StartOffset:0x1000 /EndOfFile Target.exe
HxD /Extract Source.exe /StartOffset:0x1000 /Length:0x5000 Target.exe

Thanks Maël.

Block selection in sector units

Posted: 16 Jun 2010 14:45
by pTd
Saving selected sector blocks directly to file would be useful. At the moment you can only copy and paste within the limits of user memory, if I understand correctly.

Re: Export selection to a binary file without using clipboar

Posted: 16 Jun 2012 19:28
by Maël
From David Charles:
It would be nice if HxD had an option to save the selected region. As it is, you have to copy, paste to a new file, and save. Workable, but inconvenient. This could just be a separate menu option (e.g., Save Selection) or a checkbox in the save dialog, e.g., "Save selection only."

Re: Export selection to a binary file without using clipboar

Posted: 14 Jan 2013 16:36
by jiig
I would appreciate this feature as well. If I could vote, I'd go for a "Save Selection as...".
For this task, I currently have a 2nd editor: frhed.
Except for this feature, your tool beats frhed by far.

Thanks for this great Tool,
Joerg

Re: Export selection to a binary file without using clipboard

Posted: 06 Feb 2019 14:49
by Maël
Save selection to file exists since HxD 2.2.