First post, by bjwil1991
- Rank
- l33t
When I was young, and today's kids and teens won't understand the struggles, I had to use the CD command to get into the directory for a specific game in MS-DOS.
Then, it dawned upon me: I asked myself "Would an MS-DOS batch file suffice to play a certain game?" I then searched online using the magic of Google for making a batch file that utilizes the choice program (defaults to Y/N) to choose a specific game to load.
I have an example of my games.bat file (in some memory, of course):
@echo off
echo Choose a game to load
echo.
@echo off
choice /c:abcdefghijklmnopqrstuvwxyz1234 /t:4,10 "Which game do you want to play "
echo.
@echo off
echo [ A - A10 B - BATMAN C - DOOM ]
echo...
echo...
echo...
echo...
echo...
echo...
echo...
echo...
echo [ 2 - TIE 3 - WC2 4 - EXIT ]
echo.
@echo off
IF ERRORLEVEL 30 GOTO EXIT
..........
:A10
cd games
call a10.bat
goto exit
...
:EXIT
cd \
call mt32.bat
rem MT32.bat resets the Roland MT-32 to defaults
Then, the same game with different sound card options, such as this example:
@echo off
echo Space Quest III
echo.
@echo off
choice /c: IMTSX /t:X,10 "Which sound card would you like to use "
echo.
@echo off
echo [ I - IBM M - MT-32 T - Tandy ]
echo [ S - SB X - Exit ]
echo.
@echo off
IF ERRORLEVEL 5 GOTO EXIT
.....
:IBM
cd games
call sq3-i.bat
goto EXIT
....
:exit
cd \
Have any of you done this in the past, or currently? What are your thoughts? To me, it's a time saver and lifesaver (I made multiple directories for every game that has different sound card options to choose from) without typing in the CD command every time.
I did the same thing with my Windows 98SE machine after restarting the wireless repeater and/or connecting wirelessly since the DHCP doesn't seem to reset itself unless I made a batch file and have the file load at startup.
Discord: https://discord.gg/U5dJw7x
Systems from the Compaq Portable 1 to Ryzen 9 5950X
Twitch: https://twitch.tv/retropcuser