I wrote a simple script for both windows and linux, txt2ducky that will turn this
@echo Super cool awesome batch file
STRING @echo off
STRING @echo Super cool awesome batch file
Nothing earth shattering, but I find it useful anyway. I'm sure it's been done before, but I couldn't find any examples soooo... whatever, here it is.
txt2ducky inputfile [outputfile]
Roll Your Own
If you want to use the code in another