I taken all this information from an old project of mine, so it includes some ancient and obsolete commands (that I want not to delete for historic reasons) and does not include a few modern ones. Also, several basic-level descriptions about Batch-file programming are included. zip file also includes an extensive example of a menu system called "Windows-DOS Commands Help" that displays help descriptions about cmd.exe commands arranged in a consistent way that makes it easy to navigate. In addition to the AutoMenu.bat file, the. In this way, is up to you to produce the correct appareance in the final menu layout.ĪutoMenu.zip AutoMenu.bat program and "Windows-DOS Commands Help" menu (48.67 KiB) Downloaded 274 times In order to keep the code simpler, the program does not limit the maximum number of allowed elements in each sub-menu level nor the maximum number of characters allowed in each name. Also, this method allows to add/modify/delete menu options with no confusion about the place/level of a given option or sub-menu. This scheme allows you to create your own menus in a very simple way. The first character in subfolder and file names define both their order in the menu and the key used to select they via CHOICE command, so this character must be unique the second character must be a hypen. In this way, to assemble a full "menu-tree" you just need to define subfolders at the appropriate places, create text files to display information and create Batch files to perform the final actions. Sub-menus, defined just via sub-folders A menu is assembled inside a folder via three types of nodes: AutoMenu.bat is a program that implements a method to create fully working multi-level multi-option menu systems in a simple way.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |