Click here to Skip to main content
15,881,898 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
Hi; I made a lot of vbs and bat scripts; and I call them from a combobox.exe
Can I protect my vbs and bat scripts? I dont wanna people see the codes?

Or Can I pack them via another program? Thak you in advance and sorry for my bad English :(

What I have tried:

I tried BoxedApp; AutoPlay MediaStudio
Posted

1 solution

You cannot protect a BAT file at all. It won't run as anything other than a normal text file.

VBScript can be done, albeit not that securely, using the Script Encoder built into the Windows Script host can help a bit. You can find an example here[^].


Overall, if protecting the code was a concern, you should not have used script languages to write them.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900