View Single Post
EightBitz
Senior Member
 
Join Date: May 2013
Posts: 1,458

Old January 27th, 2017, 06:56 PM
Quote:
Originally Posted by Parody View Post
Yeah, that's a little bit more of a pain. I've been working on a tool to unpack MHT files (think "web site saved as an email with attachments") which has to deal with the same thing.
With PowerShell, the deed itself is just two lines of script.
Code:
$bytes = [Convert]::FromBase64String($Contents)
[IO.File]::WriteAllBytes($FilePath,$bytes)
The painful part is integrating it with everything around it.
EightBitz is offline   #91 Reply With Quote