HOw to make a menu?

edited October 2004 in Software
Ok, I am using BAT files for this prigram I am making, and HTML pages won't do good, because this program has 2 BAT files, 1 Virtual Drive Creator, another one to delete.

Anyways, can someone help me create some sorta menu for this?

Or could give me some code cliplets how to do it?

I want the menu to be like:
1. Run VDrive Creator
2. Run VDrive Deleter (SP?)
3. View Instructions/Readme
4. Close this program

all I really need is how to make this menu and make it point to "makedrive" and "deldrive"

Thanks!

Comments

  • The user and all related content has been deleted.
  • Try to look @ config.sys... that can be a good example.
  • Thanks Tomchu for the link :D anyways, I found out that to cut short of the text, I am going to use the DOSKEY 1=mkvirdrv.bat and DOSKEY 3=EXIT
  • to make a program and to include it into autoexec.bat :)
  • Yeah, that should be an excellent idea... write something primitive on Pascal or Basic that will work like a menu... then include it in autoexec.bat.
  • Im not sure if this is what you mean by menu but by far the easiest way Ive found making BAT menus is to use the CHOICE.COM file, usually in the c:\dos directory if you have MS-DOS or PC DOS (I think 4 or greater but don't quote me on that!)

    Then just use the errorlevel property to load different things.
Sign In or Register to comment.