james_xxx
December 19th, 2008, 12:55 PM
I am rather embarrassed to resort to asking about this in the Ubuntu Forums, but...
I have the task before me of writing a rather lengthy MSDOS batch script that uses interactive menus.
(I will add that I have primarily done this assignment using FreeDOS running in VirtualBox, or using dosemu :D .)
I spent nearly a day writing (what I thought was) a very nice script, only to discover that using 'if errorlevel' will not be an option. Unfortunately, this is what I had initially used throughout.
I have scoured a book on MSDOS and numerous online tutorials, but every example of a batch file menu I can find, uses this command.
I am wondering if anyone out there in Ubuntu-land would have an idea as to how to create interactive menus in DOS without using 'choice' and 'if errorlevel'.
Suggestions will be VERY MUCH appreciated.
Thanks!
I have the task before me of writing a rather lengthy MSDOS batch script that uses interactive menus.
(I will add that I have primarily done this assignment using FreeDOS running in VirtualBox, or using dosemu :D .)
I spent nearly a day writing (what I thought was) a very nice script, only to discover that using 'if errorlevel' will not be an option. Unfortunately, this is what I had initially used throughout.
I have scoured a book on MSDOS and numerous online tutorials, but every example of a batch file menu I can find, uses this command.
I am wondering if anyone out there in Ubuntu-land would have an idea as to how to create interactive menus in DOS without using 'choice' and 'if errorlevel'.
Suggestions will be VERY MUCH appreciated.
Thanks!