We help IT Professionals succeed at work.

Tool/script that hashes (or make non readable) a bat script : how to use it

https://stackoverflow.com/questions/46451344/convert-batch-script-into-base64-non-readable-format?rq=1
I ran the script in above link (in a cmd window) & it created a red-text window which I used Win Explorer
to drag & drop my script into it: didn't get the converted 'hashed' (non readable) script?

What did I miss
Comment
Watch Question

End-user support
Commented:
I haven't tested the method you posted but here's one that uses IExpress. Still, a downside is that you can't pass arguments to the encrypted bat:

https://www.experts-exchange.com/questions/29160835/Can-anyone-recommend-a-good-batch-file-to-EXE-compiler.html#a42958598
Most Valuable Expert 2019
Most Valuable Expert 2018
Commented:
You need to drag the batch file you want to convert over the Certutil_B64_Encoding_Files.bat file, not start the Certutil_B64_Encoding_Files.bat, and then drag the file into it.
Alternatively, you can open a command prompt and run
C:\temp\Certutil_B64_Encoding_Files.bat "C:\temp\BatToEncode.bat"

Open in new window

What is it you want to achieve? Note that this will not secure your bat file in any way!
Anybody with access to the encoded bat file can just replace Start "DJBuzzRadio" "%Temp%\DJBuzzRadio.vbs" with type "%Temp%\DJBuzzRadio.vbs" and immediately see the decoded script.

Author

Commented:
> Anybody with access to the encoded bat file can just replace
At least not many people in my organization (including auditors)
are savvy enough to know how to do this