Base64 decode/encode in Windows command line

For Base64 file encode/decode you can use built-in utillity certutil.exe (in c:\windows\system32):

certutil.exe -encode InFile OutFile
certutil.exe -decode InFile OutFile

Note: because its for certificates … certutil add line „—–BEGIN CERTIFICATE—–“ (as first line of OutFile) and „—–END CERTIFICATE—–“ (as last line) when you encode some file

Napsat komentář

Vaše emailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *