There are several methods to convert EXE to BAT, ranging from simple to complex. Here are some of the most common approaches:
This will install the package on your system.
If you're using a Linux distribution for penetration testing or security research, exe2hex is a powerful tool to have in your arsenal.
If you are looking to create a script to automate a specific process, let me know the task (e.g., file management, system settings, or launching programs), and I can write the exact batch code for you.