MD2EXE is a command-line utility that will embed a Batch file and other optional files into an EXE file. It does not "compile" the batch file ... it simply bundles it into the EXE.
When the generated EXE is executed, the batch file and all other supporting files are written to a temporary directory and is then executed. After termination of the batch process, all files in the temporary directory are removed as is the directory itself. How can I use CMD2EXE? CMD2EXE can be used to deploy groups of batch files, batch files and supplementary data files, or just a single batch file. GeneRally, users cannot tamper with batch files once they've been embedded in an EXE with CMD2EXE. CMD2EXE can be used to simply hide Details from the user, deploy batch files with their utility EXE's such as command-line mailers or registry manipulation tools, or as simple setup tools.