bat to .app?

im making a text based cmd game and i know how to change a .bat to exe, but i was wondering if theres a way to change it to like a .app or .dmg mac extension executable?

iceng1 month ago

You do not publish a skill set, obviously you do not program, but do you understand electrical laws ?

g-one1 month ago

No, that's definitely impossible.

Bat2Exe converters pack your batch script into something like a self-extracting zip archive or an installer with extension .exe. If you execute it your original script will be unpacked into the %temp% folder. After that cmd.exe will be invoked to execute the script. That's basically the same as if you execute your batch file via double clicking.

What I try to explain is that there is no way (not even on Windows) to make a batch file a native executable in a way as you could using compilable languages. It always needs the plain text script and cmd.exe that interprets and executes the script. And that's the reason why it will never run on operating systems other than Windows.