| Creating a Basic Menu - Step 28 of 30 | |||||
|
|
|||||
| Our buttons are connected to two files, calc.exe and readme.txt, as shown in the table below: | |||||
| Button Name | Filename | ||||
|
My First Button Read This First |
calc.exe docs\readme.txt |
||||
| If the menu program should be able to find the files we must put them in the correct folders. The first file, calc.exe, has no folder specified in the file path so this file must be placed in the same folder as the menu program (SLCDMENU.EXE), as shown below: | |||||
| Folder structure | Contents of the 'My Projects' folder | ||||
![]() |
![]() |
||||
| The second file, readme.txt, must be placed in a sub folder with the name docs. Because this folder does not exist yet we must create it. The folder must be created in the same folder as the menu program (SLCDMENU.EXE). After creation you should have the following tree structure: | |||||
![]() |
|||||
| Then you should place the readme.txt file in the docs folder. The contents of the docs folder should now be as: | |||||
| Folder structure | Contents of the 'docs' folder | ||||
![]() |
|
||||
| < Back | Next Step > | ||||