When you launch the game you are probably clicking on a shortcut that points to a .bat or .cmd file. That will cause cmd.exe to launch and execute the commands in the .bat file. You need to edit the .bat file with Notepad and add in the command to launch the emulator before it launches the .exe for that game you are trying to play.
Windows XP: how add an automatic application on cmd.exe?
i have a MS-DOS sound driver emulator.
when i execute the CMD.exe, i must execute\use that sound driver command.
when i execute a MS-DOS game, the CMD.exe is executed before execute the game... so how can i attack that CMD command automatic, when the CMD.exe is executed?
4 answers
Sort by: Most helpful
-
-
Limitless Technology 39,731 Reputation points
Sep 16, 2021, 11:19 AM Hi there,
It seems you must make corrections to the.bat file and add it to the executable file as when you click the game the .bat files are executed with the Help of the CMD only, so the only way would be to add the Sound emulator to the .exe via the bat file so that it can execute along with the game.
Hope this answers all your queries, if not please do repost back.
If an Answer is helpful, please click "Accept Answer" and upvote it : ) -
Joaquim Miguel Jesus 1 Reputation point
Sep 16, 2021, 7:09 PM i'm confused: how can i connect the bat file to cmd?
when the cmd\game is executed, that bat must be executed -
MotoX80 34,761 Reputation points
Sep 16, 2021, 10:41 PM i'm confused: how can i connect the bat file to cmd?
Unless you've changed the defaults on your PC, you don't need to do anything. A .bat file is a series of commands that are processed by the command interpreter, cmd.exe.
https://www.bing.com/search?q=windows+what+is+a+bat+file
Here I am using the Explorer to look at a bat file. If I right click and select Edit, it launches notepad.exe to allow me to view and update the file contents.
If I double click on the bat file, it will launch cmd.exe to process the commands in the file.