Quote:
Originally Posted by Parody
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.