Saving a batch file as text and opening to read its contents
Hi:
I renamed a batch file as text (I can view the file extensions so for sure its called blah.exe.txt). Then I R-Click and Edit. But the contents are all garbled and not in human readable format. How can I get to read the contents of my batch file?
Thanks
Microsoft DOSWindows BatchProgramming
Last Comment
Gerwin Jansen
8/22/2022 - Mon
oBdA
Well, if it's called "blah.exe.txt", then the file underneath is not batch file, but an exe file, and exe files come in binary form.
If it's a "compiled" batch file, you'll need to check if the compiler offers an option to decompile.
LuckyLucks
ASKER
Thank you.
Ok so I did rename it to blah.txt , and did the same R-Click and Edit, but that didnt do the trick.
How can I check if its a compiled batch file as opposed to'non-compiled'? And where can I get hold of the compiler and check its option? The author is not around anymore.
Bill Prew
Can you post the blah.exe.txt file here, so we can analyze it?
If it's a "compiled" batch file, you'll need to check if the compiler offers an option to decompile.