> How can I make a text file runnable but not readable?

How can I make a text file runnable but not readable?

Posted at: 2014-12-18 
I am making a .bat file, that needs to be able to run, but not be read. Kind of like an inverted Read-Only. It would be a Run-Only.

Is this possible?

Thanks in advance.

- PXgamer

In principle, you would have three batch files: two plain and one scrambled somehow. The first file contains the commands to invoke and unscramble the second batch file. The second batch file contains all the commands you actually want to run but keep hidden. The last line of the second batch file would be to invoke the third batch file. The third batch file would re-scramble the second file so that the first one could read it again.

laduron7's response is just silly.? Compile the batch file to a EXE to make it unreadable.

http://www.robvanderwoude.com/scriptcomp...

No.

I am making a .bat file, that needs to be able to run, but not be read. Kind of like an inverted Read-Only. It would be a Run-Only.

Is this possible?

Thanks in advance.

- PXgamer