You cannot directly convert an EXE (compiled executable) into a BAT (plain text batch script).
Fixed/robust recipe (practical, recommended) convert exe to bat fixed
By using the Wrapper Technique, you ensure that your conversion is stable, readable, and—most importantly—fixed against the common pathing errors that plague basic scripts. Title: How to “Convert EXE to BAT” –
iexpress (Built into Windows)Windows has a native tool to package a BAT into an executable. recommended) By using the Wrapper Technique
Step-by-step guide to converting EXE to BAT