Add a new Sub-Menu folder
E2B SUBMENU Maker.cmd
An easy way to add a new Main Menu entry for a new folder, is to use the \_ISO\docs\E2B Utilities\E2B SUBMENU Maker.cmd file - just run this or drag-and-drop your new \_ISO\MSDART folder onto it, to make a Main menu entry for it.
You can edit the new file using NotePad afterwards (save as UTF-8 to preserve any special characters if using a non-English language).
Watch the YouTube video above or read the Blog for more details.
If you prefer to get your hands dirty (or don't have a Windows system), you can also do it the harder way by following the steps below...
Manually add a new sub-menu
IMPORTANT: Ensure that the 'set MFOLDER=.....' line does not end with a SPACE character as this may cause problems (e.g. loading wallpaper files, etc.)
Ensure you save it as UTF-8 encoded if you use non-ASCII characters (use NotePad- File - Save As...).
Add new 'AUTO' Payload folders
The folders do not have to be below /_ISO, but this example uses \_ISO\LinuxISO\Ubuntu and \_ISO\LinuxISO\Fedora to hold Ubuntu and Fedora payload files...
Enumerate only one folder
Add a sub-sub-me nu folder
The \_ISO\UTILITIES_MEMTEST folder is actually a sub-sub-menu folder for the Memory Test menu which can only be reached via the Utilities menu.
The \_ISO\UTILITIES\Utilities_MemTest.mnu file is used to add a menu item in the Utilities Menu which will take you to the UTILITIES_MEMTEST menu.
In the UTILITIES_MEMTEST folder there is a ZZBackTo_Utils.mnu file which will take you back to the Utilities Menu from the Memory Test menu.
New in v1.62:
An easy way to add a new Main Menu entry for a folder is to use the \_ISO\docs\E2B Utilities\Make SubMenu.cmd file - just run this or drag-and-drop your new \_ISO\MSDART folder onto it, to make a Main menu entry for it. See the Blog for more details.
Otherwise, do it the hard way and follow the steps below.
If you want your own sub-sub-menu, then you will need to create two similar files...
Example for Linux - Ubuntu sub-sub-menu
You want a new UBUNTU sub-sub-menu in the Linux Menu for Ubuntu ISOs
1. Use the \_ISO\docs\E2B Utilities\E2B SUBMENU Maker.cmd to create a LINUX_UBUNTU folder
Yoy can specify a hotkey (e.g. Ctrl+U) if you wish.
2. Move the file created in the \_ISO\MAINMENU folder (ZZSubMenu$LINUX_UBUNTU.mnu) to the \_ISO\LINUX folder
3. Copy your Ubuntu ISO files into the new, empty \_ISO\LINUX_UBUNTU folder
4. You can now test your menu, but you can only go back to the Main menu using F8.
To return to the LINUX menu from the LINUX_UBUNTU menu, add a new \_ISO\LINUX_UBUNTU\ZZReturn.mnu file:
title Return to Linux Menu\n Go back to the previous menu
set HDG=Linux Menu
#HDG will be the heading for the menu
You can define a hotkey too, by using a different title line, e.g.
title ^Ctrl+F8 Return to Linux Menu [Ctrl+F8]\n Go back to the previous menu
To change the order of the menu entries, start the .mnu file name with either $ or Z as files are sorted alphabetically (the actual name of .mnu files does not matter).
You can edit the new .mnu files if you wish to change them (if you edit existing E2B .mnu files, they will be overwritten when you next update E2B!).
Multiple 'nested' menus
Recommended for Easy2Boot (fastest!) - SanDisk Extreme SDCZ880-128G-G46