VOGONS


First post, by Planet-Dune

User metadata
Rank Member
Rank
Member

I am using that well known 9x dos menu that was posted multiple times on this board in the past. The one where you edit the shortcut to the "launch msdos mode" to run its own config/autoexec and displays a nice choice menu from what type of memory/cdrom you want ..

Now every time I boot into DOS I need to run the "liveinit.bat" to initialize my sound blaster live dos drivers. I figured just to make that go automatically by adding it to the autoexec to notice it refuses to do it... after some research it seems that running a bat from inside a bat is harder than expected and all solutions that I tried don't seem to work...

Anyone know how to do this?

Reply 3 of 3, by Malik

User metadata
Rank l33t
Rank
l33t

CALL that Bat, is easy to remember.

Yes, it's the CALL command to run an external BATCH file and returns back to the caller.

---***---
call liveinit.bat
---***---

Or you can also "pass" the responsibility to the liveinit.bat file, by placing the "call liveinit.bat" statement at the end of the Autoexec.bat file.

This will pass the flow process from the Autoexec to Liveinit. And Liveinit will complete the boot process.

5476332566_7480a12517_t.jpgSB Dos Drivers