How to secure my Arduino sketch

Batch scripts have been around for many years:
Copy 'n Paste Arduino Firmware - Community / Exhibition / Gallery - Arduino Forum