home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / MISC / SMSTR32C.ZIP / SM10.DOC < prev   
Encoding:
Text File  |  1991-01-21  |  32.7 KB  |  661 lines

  1.  
  2.      -------------------------------------------------------------------------
  3.      SECTION 10   Menu Design Examples
  4.      -------------------------------------------------------------------------
  5.  
  6.      10.1   Distribution Diskette Menus
  7.  
  8.             Included on the Distribution diskettes for SYSTEM MASTER, are
  9.             16 menus with approximately 300 functional sample menu options.
  10.  
  11.             We shall discuss these menus in this section of the documentation
  12.             and also try to discuss the basic application menu definitions.
  13.  
  14.             10.1.1  The BASE MENU
  15.  
  16.                     The first of the sample menus is what is called the
  17.                     BASE MENU.  The BASE MENU is the menu which is loaded
  18.                     when you enter SYSTEM MASTER.
  19.  
  20.                     The BASE MENU can be layed out in any fashion you wish,
  21.                     but we will give you some of our recommendations.
  22.  
  23.                     1)  You should locate all of your frequently run
  24.                         applications on the BASE MENU, or design an option
  25.                         which will 'J'ump you directly into a menu box on a
  26.                         different menu page or menu level which contains
  27.                         your Applications.
  28.  
  29.                     2)  You should Categorize your processing tasks, and put
  30.                         each of these tasks on its own menu.  (We have done
  31.                         this with the DOS function menus and the System
  32.                         Configuration Menus).
  33.  
  34.             10.1.2  The DOS Function MENU
  35.  
  36.                     The DOS Function Menu contains 131 Menu Options (Which
  37.                     includes the 'MORE...', '...BACK' and the 'Return to Base
  38.                     Menu' Options).
  39.  
  40.                     These DOS functions are First Grouped by Four Major
  41.                     Categories:
  42.  
  43.                          1)  DISK
  44.                          2)  DIRECTORY
  45.                          3)  FILE
  46.                          4)  SYSTEM
  47.  
  48.                     10.1.2.1  DISK
  49.  
  50.                               The DISK Category contains a Listing of the
  51.                               Commands which will perform operations on
  52.                               a Disk or Disk Drive:
  53.  
  54.  
  55.  
  56.  
  57.  
  58.      Release Date: 21 January, 1991
  59.      -------------------------------------------------------------------------
  60.      System Master 3.2                                              Page 10- 1
  61.  
  62.      -------------------------------------------------------------------------
  63.      SECTION 10   Menu Design Examples
  64.      -------------------------------------------------------------------------
  65.  
  66.                                  ┌──────────────────────────┐
  67.                                  │ ASSIGN                   │ ▓
  68.                                  │ CHKDSK                   │ ▓
  69.                                  │ DISKCOMP                 │ ▓
  70.                                  │ DISKCOPY                 │ ▓
  71.                                  │ FORMAT                   │ ▓
  72.                                  │ LABEL                    │ ▓
  73.                                  │ VOL                      │ ▓
  74.                                  └──────────────────────────┘ ▓
  75.                                    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  76.  
  77.                               As one of these DISK command functions are
  78.                               selected from the menu, a 'J'ump is made into
  79.                               the Menu Level, Page and Menu Box that contains
  80.                               all of the related function options.
  81.  
  82.                               For Example this is the Menu Box for the
  83.                               DISKCOPY command:
  84.  
  85.                                  ┌──────────────────────────┐
  86.                                  │ Copy Disk In Drive A:    │ ▓
  87.                                  │ Copy Disk In Drive B:    │ ▓
  88.                                  │ Copy Disk - Drives A:/B: │ ▓
  89.                                  │ Copy Disk - Drives B:/A: │ ▓
  90.                                  └──────────────────────────┘ ▓
  91.                                    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  92.  
  93.                               Each of these options performs a very specific
  94.                               task or combination of tasks.
  95.  
  96.                               These menu options can be modified to perform
  97.                               tasks specifiic to your own needs.  They can
  98.                               be left unchanged and executed as provided, or
  99.                               any or all of the menu options can be copied
  100.                               and pasted into any location within the shell
  101.                               using the F2 Edit SYSTEM MASTER function.
  102.  
  103.                     10.1.2.2  DIRECTORY
  104.  
  105.                               The DIRECTORY Category contains a Listing of
  106.                               the Commands which will perform operations
  107.                               on the Disk Drive Directory structure.
  108.  
  109.                                  ┌──────────────────────────┐
  110.                                  │ DIR                      │ ▓
  111.                                  │ JOIN                     │ ▓
  112.                                  │ PATH                     │ ▓
  113.                                  │ TREE                     │ ▓
  114.                                  └──────────────────────────┘ ▓
  115.                                    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  116.  
  117.  
  118.      Release Date: 21 January, 1991
  119.      -------------------------------------------------------------------------
  120.      System Master 3.2                                              Page 10- 2
  121.  
  122.      -------------------------------------------------------------------------
  123.      SECTION 10   Menu Design Examples
  124.      -------------------------------------------------------------------------
  125.  
  126.                               As one of these DIRECTORY command functions
  127.                               are selected from the menu, a 'J'ump is made
  128.                               into the Menu Level, Page and Menu Box that
  129.                               contains all of the related function options.
  130.  
  131.                               For Example this is the Menu Box for the
  132.                               DIR command:
  133.  
  134.                                  ┌──────────────────────────┐
  135.                                  │ View Paged Directory     │ ▓
  136.                                  │ View Wide Directory      │ ▓
  137.                                  │ Print Directory on LPT1  │ ▓
  138.                                  │ Write Directory to File  │ ▓
  139.                                  └──────────────────────────┘ ▓
  140.                                    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  141.  
  142.                               Each of these options performs a very specific
  143.                               task or combination of tasks.
  144.  
  145.                               These menu options can be modified to perform
  146.                               tasks specifiic to your own needs.  They can
  147.                               be left unchanged and executed as provided, or
  148.                               any or all of the menu options can be copied
  149.                               and pasted into any location within the shell
  150.                               using the F2 Edit SYSTEM MASTER function.
  151.  
  152.                     10.1.2.3  FILE
  153.  
  154.                               The FILE Category contains a Listing of
  155.                               the Commands which will perform operations
  156.                               on the Disk Files.
  157.  
  158.                                  ┌──────────────────────────┐
  159.                                  │ ATTRIB                   │ ▓
  160.                                  │ BACKUP                   │ ▓
  161.                                  │ COMP                     │ ▓
  162.                                  │ COPY                     │ ▓
  163.                                  │ DEL                      │ ▓
  164.                                  │ MORE                     │ ▓
  165.                                  │ RENAME                   │ ▓
  166.                                  │ REPLACE                  │ ▓
  167.                                  │ RESTORE                  │ ▓
  168.                                  │ TYPE                     │ ▓
  169.                                  │ VERIFY                   │ ▓
  170.                                  │ XCOPY                    │ ▓
  171.                                  └──────────────────────────┘ ▓
  172.                                    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  173.  
  174.                               As one of these FILE command functions
  175.                               are selected from the menu, a 'J'ump is made
  176.                               into the Menu Level, Page and Menu Box that
  177.  
  178.      Release Date: 21 January, 1991
  179.      -------------------------------------------------------------------------
  180.      System Master 3.2                                              Page 10- 3
  181.  
  182.      -------------------------------------------------------------------------
  183.      SECTION 10   Menu Design Examples
  184.      -------------------------------------------------------------------------
  185.  
  186.                               contains all of the related function options.
  187.  
  188.                               For Example this is the Menu Box for the
  189.                               COPY command:
  190.  
  191.                                  ┌──────────────────────────┐
  192.                                  │ Copy File(s) to Disk     │ ▓
  193.                                  │ Copy File(s) to LPT1     │ ▓
  194.                                  │ Copy File(s) to CONsole  │ ▓
  195.                                  └──────────────────────────┘ ▓
  196.                                    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  197.  
  198.                               Each of these options performs a very specific
  199.                               task or combination of tasks.
  200.  
  201.                               These menu options can be modified to perform
  202.                               tasks specifiic to your own needs.  They can
  203.                               be left unchanged and executed as provided, or
  204.                               any or all of the menu options can be copied
  205.                               and pasted into any location within the shell
  206.                               using the F2 Edit SYSTEM MASTER function.
  207.  
  208.                     10.1.2.4  SYSTEM
  209.  
  210.                               The SYSTEM Category contains a Listing of
  211.                               the Commands which will perform operations
  212.                               on the Computer System.
  213.  
  214.                                  ┌──────────────────────────┐
  215.                                  │ BREAK                    │ ▓
  216.                                  │ DATE                     │ ▓
  217.                                  │ PROMPT                   │ ▓
  218.                                  │ SET                      │ ▓
  219.                                  │ TIME                     │ ▓
  220.                                  │ VER                      │ ▓
  221.                                  └──────────────────────────┘ ▓
  222.                                    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  223.  
  224.                               As one of these FILE command functions
  225.                               are selected from the menu, a 'J'ump is made
  226.                               into the Menu Level, Page and Menu Box that
  227.                               contains all of the related function options.
  228.  
  229.                               For Example this is the Menu Box for the
  230.                               TIME command:
  231.  
  232.                                  ┌──────────────────────────┐
  233.                                  │ Set System Time          │ ▓
  234.                                  │ View/Set System Time     │ ▓
  235.                                  └──────────────────────────┘ ▓
  236.                                    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  237.  
  238.      Release Date: 21 January, 1991
  239.      -------------------------------------------------------------------------
  240.      System Master 3.2                                              Page 10- 4
  241.  
  242.      -------------------------------------------------------------------------
  243.      SECTION 10   Menu Design Examples
  244.      -------------------------------------------------------------------------
  245.  
  246.                               Each of these options performs a very specific
  247.                               task or combination of tasks.
  248.  
  249.                               These menu options can be modified to perform
  250.                               tasks specifiic to your own needs.  They can
  251.                               be left unchanged and executed as provided, or
  252.                               any or all of the menu options can be copied
  253.                               and pasted into any location within the shell
  254.                               using the F2 Edit SYSTEM MASTER function.
  255.  
  256.             10.1.3  The SYSTEM MASTER Configuration Options Menu
  257.  
  258.                     The Configuration Menu contains 167 Menu Options (Which
  259.                     includes the 'MORE...', '...BACK', 'Load Configuration
  260.                     Menu' and the 'Return to Base Menu' Options).
  261.  
  262.                     These Configuration functions are First Grouped into Five
  263.                     Major Categories:
  264.  
  265.                          1)  COLORS
  266.                          2)  PALETTES
  267.                          3)  SWITCHES
  268.                          4)  MISCELLANY
  269.                          5)  ACCESS
  270.  
  271.                     10.1.3.1  COLORS
  272.  
  273.                               The COLORS Category contains a Listing of
  274.                               the Commands which will allow you to customize
  275.                               the SYSTEM MASTER Screen Display Attributes.
  276.  
  277.                                  ┌──────────────────────────┐
  278.                                  │ Edit Base Screen Colors  │ ▓
  279.                                  │ Edit Scrn Header Colors  │ ▓
  280.                                  │ Edit Scrn Footer Colors  │ ▓
  281.                                  │ Edit Menu Pad Colors     │ ▓
  282.                                  │ Edit Menu Box Colors     │ ▓
  283.                                  │ Edit Tools Menu Colors   │ ▓
  284.                                  │ Edit Menu Button Colors  │ ▓
  285.                                  │ Edit Option Input Colors │ ▓
  286.                                  │ Edit Option Menu Colors  │ ▓
  287.                                  │ Edit Help Screen Colors  │ ▓
  288.                                  │ Edit Screen Blank Color  │ ▓
  289.                                  │ Edit Time & Date Colors  │ ▓
  290.                                  │ Edit Message Box Colors  │ ▓
  291.                                  │ Edit Mode Bar Colors     │ ▓
  292.                                  │ Edit Access Code Colors  │ ▓
  293.                                  │ Edit Misc Window Colors  │ ▓
  294.                                  └──────────────────────────┘ ▓
  295.                                    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  296.  
  297.  
  298.      Release Date: 21 January, 1991
  299.      -------------------------------------------------------------------------
  300.      System Master 3.2                                              Page 10- 5
  301.  
  302.      -------------------------------------------------------------------------
  303.      SECTION 10   Menu Design Examples
  304.      -------------------------------------------------------------------------
  305.  
  306.                               As one of these COLOR Configuration functions
  307.                               are selected from the menu, a 'J'ump is made
  308.                               into the Menu Level, Page and Menu Box that
  309.                               contains all of the related function options.
  310.  
  311.                               For Example this is the Menu Box for the
  312.                               'Edit Base Screen Colors' command:
  313.  
  314.                                  ┌──────────────────────────┐
  315.                                  │ S/N Text Color           │ ▓
  316.                                  │ Menu Title BackGround    │ ▓
  317.                                  │ Menu Title Text Color    │ ▓
  318.                                  │ Desciptive Text BackGnd  │ ▓
  319.                                  │ Desciptive Text Color    │ ▓
  320.                                  │ Edit CurrUser Background │ ▓
  321.                                  │ Edit CurrUser Text Color │ ▓
  322.                                  │ Edit Shade Background    │ ▓
  323.                                  │ Edit Shade Char Color    │ ▓
  324.                                  │ Edit Displayed Shade Chr │ ▓
  325.                                  └──────────────────────────┘ ▓
  326.                                    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  327.  
  328.                               These menu options can be modified to perform
  329.                               tasks specifiic to your own needs.  They can
  330.                               be left unchanged and executed as provided, or
  331.                               any or all of the menu options can be copied
  332.                               and pasted into any location within the shell
  333.                               using the F2 Edit SYSTEM MASTER function.
  334.  
  335.                     10.1.3.2  PALETTES
  336.  
  337.                               The PALETTES Menu contains a Listing of
  338.                               the Commands which will allow you to customize
  339.                               your systems color palette registers.
  340.  
  341.                               The Color palettes are used to assign a specific
  342.                               value to each of the available 16 colors.
  343.  
  344.                               (I.E.  When your system is booted, the black
  345.                                screen you see is color palette 0 and has a
  346.                                value of 0. You could change the color of the
  347.                                black screen to blue by setting palette
  348.                                register 0 to a value of 1).
  349.  
  350.                               NOTE: When you exit SYSTEM MASTER, all of the
  351.                                     color palettes are reset to the values
  352.                                     preset into your system at bootup.
  353.  
  354.                               These menu options can be modified to perform
  355.                               tasks specifiic to your own needs.  They can
  356.                               be left unchanged and executed as provided, or
  357.  
  358.      Release Date: 21 January, 1991
  359.      -------------------------------------------------------------------------
  360.      System Master 3.2                                              Page 10- 6
  361.  
  362.      -------------------------------------------------------------------------
  363.      SECTION 10   Menu Design Examples
  364.      -------------------------------------------------------------------------
  365.  
  366.                               any or all of the menu options can be copied
  367.                               and pasted into any location within the shell
  368.                               using the F2 Edit SYSTEM MASTER function.
  369.  
  370.                                  ┌──────────────────────────┐
  371.                                  │ Modify Palette Reg. #00  │ ▓
  372.                                  │ Modify Palette Reg. #01  │ ▓
  373.                                  │ Modify Palette Reg. #02  │ ▓
  374.                                  │ Modify Palette Reg. #03  │ ▓
  375.                                  │ Modify Palette Reg. #04  │ ▓
  376.                                  │ Modify Palette Reg. #05  │ ▓
  377.                                  │ Modify Palette Reg. #06  │ ▓
  378.                                  │ Modify Palette Reg. #07  │ ▓
  379.                                  │ Modify Palette Reg. #08  │ ▓
  380.                                  │ Modify Palette Reg. #09  │ ▓
  381.                                  │ Modify Palette Reg. #10  │ ▓
  382.                                  │ Modify Palette Reg. #11  │ ▓
  383.                                  │ Modify Palette Reg. #12  │ ▓
  384.                                  │ Modify Palette Reg. #13  │ ▓
  385.                                  │ Modify Palette Reg. #14  │ ▓
  386.                                  │ Modify Palette Reg. #15  │ ▓
  387.                                  └──────────────────────────┘ ▓
  388.                                    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  389.  
  390.                     10.1.3.3  SWITCHES
  391.  
  392.                               The SWITCHES Menu contains a Listing of
  393.                               the Commands which will allow you to customize
  394.                               the SYSTEM MASTER Operating preferences.
  395.  
  396.                               These menu options can be modified to perform
  397.                               tasks specifiic to your own needs.  They can
  398.                               be left unchanged and executed as provided, or
  399.                               any or all of the menu options can be copied
  400.                               and pasted into any location within the shell
  401.                               using the F2 Edit SYSTEM MASTER function.
  402.  
  403.                                  ┌──────────────────────────┐
  404.                                  │ Toggle System Sound +/-  │ ▓
  405.                                  │ Toggle Error Sound  +/-  │ ▓
  406.                                  │ Toggle Security     +/-  │ ▓
  407.                                  └──────────────────────────┘ ▓
  408.                                    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  409.  
  410.                     10.1.3.4  MISCELLANY
  411.  
  412.                               The MISCELLANY Menu contains a Listing of
  413.                               the Commands which will allow you to customize
  414.                               the SYSTEM MASTER Screen Blanking Function and
  415.                               the COMSPEC variable.
  416.  
  417.  
  418.      Release Date: 21 January, 1991
  419.      -------------------------------------------------------------------------
  420.      System Master 3.2                                              Page 10- 7
  421.  
  422.      -------------------------------------------------------------------------
  423.      SECTION 10   Menu Design Examples
  424.      -------------------------------------------------------------------------
  425.  
  426.                               These menu options can be modified to perform
  427.                               tasks specifiic to your own needs.  They can
  428.                               be left unchanged and executed as provided, or
  429.                               any or all of the menu options can be copied
  430.                               and pasted into any location within the shell
  431.                               using the F2 Edit SYSTEM MASTER function.
  432.  
  433.                                  ┌──────────────────────────┐
  434.                                  │ Time Blanking Interval   │ ▓
  435.                                  │ Screen Blank Message     │ ▓
  436.                                  │ Message Shift Interval   │ ▓
  437.                                  │ Specify Cmnd Processor   │ ▓
  438.                                  └──────────────────────────┘ ▓
  439.                                    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  440.  
  441.                     10.1.3.5  ACCESS
  442.  
  443.                               The ACCESS Menu contains a Listing of
  444.                               the Commands which will allow you to customize
  445.                               SYSTEM MASTER Access Level Values.
  446.  
  447.                                  ┌──────────────────────────┐
  448.                                  │ Number of Menu Levels    │ ▓
  449.                                  │ Access to Option Editor  │ ▓
  450.                                  │ Access to User Profiles  │ ▓
  451.                                  │ Access to Menus/Levels   │ ▓
  452.                                  │ Access to DOS            │ ▓
  453.                                  └──────────────────────────┘ ▓
  454.                                    ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  455.  
  456.                               Each of these options performs a very specific
  457.                               task or combination of tasks.
  458.  
  459.                               These menu options can be modified to perform
  460.                               tasks specifiic to your own needs.  They can
  461.                               be left unchanged and executed as provided, or
  462.                               any or all of the menu options can be copied
  463.                               and pasted into any location within the shell
  464.                               using the F2 Edit SYSTEM MASTER function.
  465.  
  466.             10.1.4  Special Error Handling Options
  467.  
  468.                     In addition to the DOS & Configuration menus, we have
  469.                     included a set of 5 error handling menu options.  These
  470.                     Option should NOT be called from the menu, but are designed
  471.                     to be 'I'ncluded into other menu options to handle error
  472.                     conditions which may arise during command processing.
  473.  
  474.                     These error handling routines can be found on menu level
  475.                     99, Menu 8.
  476.  
  477.  
  478.      Release Date: 21 January, 1991
  479.      -------------------------------------------------------------------------
  480.      System Master 3.2                                              Page 10- 8
  481.  
  482.      -------------------------------------------------------------------------
  483.      SECTION 10   Menu Design Examples
  484.      -------------------------------------------------------------------------
  485.  
  486.      10.2   Let's Design some practical Menu Options
  487.  
  488.             10.2.1   Move a File
  489.  
  490.                      In order to move files within the constrains of DOS,
  491.                      we must perform two distinct operations:
  492.  
  493.                         1)  We must COPY the File to a Destination
  494.                             FileSpec.
  495.                         2)  We must DELete the file from the Source
  496.                             location.
  497.  
  498.                      There is, unfortunately, more to take into consideration
  499.                      when you are about to perform a combination of DOS
  500.                      commands under strict control of DOS.
  501.  
  502.                      You must provide a means of checking and handling
  503.                      various error conditions as they relate to the
  504.                      success or failure of the task at hand.
  505.  
  506.                      Let's say that we just Invoked the MOVE
  507.                      operation as outlined above.  Let's also say
  508.                      that you are moving your data files onto a
  509.                      diskette in drive A:.  PROBLEM:  If the disk
  510.                      in drive A: had been write protected, DOS
  511.                      would give you an error message with the
  512.                      notorious Abort/Retry/Fail? prompt.  If you
  513.                      aborted the copy option with an Abort, the
  514.                      COPY command would cease, but the DELete command
  515.                      could still be processed thus causing your
  516.                      files to be erased.)
  517.  
  518.                      So we MUST add a means to check for certain conditions
  519.                      and then act on them should they arise:
  520.  
  521.                         1)  We must verify that the Source file exists.
  522.                         2)  We must COPY the File to a Destination
  523.                             FileSpec.
  524.                         3)  We must verify that the file has actually been
  525.                             COPIED and exists at the destination.
  526.                         4)  We must DELete the file from the Source
  527.                             location.
  528.                         5)  We must verify that the source file has been
  529.                             DELeted
  530.  
  531.                      I hope that I have impressed upon you the importance
  532.                      of handling as many of the potential error conditions
  533.                      that could arise during the execution of a batch
  534.                      command process.
  535.  
  536.                      NOTE: Be aware that wildcards should NOT BE USED when
  537.  
  538.      Release Date: 21 January, 1991
  539.      -------------------------------------------------------------------------
  540.      System Master 3.2                                              Page 10- 9
  541.  
  542.      -------------------------------------------------------------------------
  543.      SECTION 10   Menu Design Examples
  544.      -------------------------------------------------------------------------
  545.  
  546.                            executing a command of this type as the error
  547.                            handling confines will not operate on multiple
  548.                            files.
  549.  
  550.                      10.2.1.1  Writing the MOVE Command into SYSTEM MASTER
  551.  
  552.                                I will assume that you have found the just
  553.                                right location for your new MOVE command and
  554.                                will proceed under that premace.
  555.  
  556.                                You would Enter all the information as prompted
  557.                                on the primary option editing screen.
  558.  
  559.                                Next, comes the actual speciying of the SYSTEM
  560.                                MASTER prompting, and the Specification of the
  561.                                batch command process.
  562.  
  563.                                The Structure is as follows:
  564.  
  565.                                [W]
  566.                                [!] 2
  567.                                [?] S Enter the Name of the File to MOVE:
  568.                                [!]
  569.                                [?] S Enter the Destination FileSpec:
  570.                                if NOT EXIST %1 goto NOSRC
  571.                                if EXIST %2 goto ISTAR
  572.                                copy %1 %2
  573.                                if NOT EXIST %2 goto NOTAR
  574.                                del %1
  575.                                if EXIST %1 goto ISSRC
  576.                                goto EXITBAT
  577.                                [I] 988101
  578.                                [I] 988102
  579.                                [I] 988103
  580.                                [I] 988104
  581.                                [I] 988105
  582.  
  583.                                NOTE:  This is the Same Basic Error Handling
  584.                                       Used in the Third Example given in
  585.                                       Section 9 Used for Copying files.
  586.  
  587.                                       The Only Exception is that a DEL command
  588.                                       has been added, and 1 Additional Label
  589.                                       was added.
  590.  
  591.             10.2.2   Executing Programs thru SYSTEM MASTER
  592.  
  593.                      In order to execute any PC Program software, you must
  594.                      first define the menu option processing instructions that
  595.                      will govern the software loading request.
  596.  
  597.  
  598.      Release Date: 21 January, 1991
  599.      -------------------------------------------------------------------------
  600.      System Master 3.2                                              Page 10-10
  601.  
  602.      -------------------------------------------------------------------------
  603.      SECTION 10   Menu Design Examples
  604.      -------------------------------------------------------------------------
  605.  
  606.                      You must have 5 pieces of data available:
  607.  
  608.                        1) The drive where the application program resides.
  609.                        2) The path where the load file is located.
  610.                        3) The Filename of the Execution file.
  611.                        4) The drive where SYSTEM MASTER resides.
  612.                        5) The path where the SYSTEM MASTER files are located.
  613.  
  614.                      Once this data is available to you, the menu option can
  615.                      be added to the menu by using the F2 'EDIT' option.
  616.  
  617.                      Assuming that the primary definition screen has been
  618.                      completed, we will start entering the processing commands
  619.                      into the command entry window.
  620.  
  621.                      We will be adding Word Perfect 5.0 to the menu system
  622.                      with this discussion.
  623.  
  624.                      ■ D:               {change to the programs drive}
  625.                      ■ CD\WP5           {change to the programs path }
  626.                      ■ WP               {load the execution file     }
  627.                      ■ C:               {return to the SYSTEM MASTER drive}
  628.                      ■ CD\SM            {change to the SYSTEM MASTER path }
  629.                      ■ [L] C            {reload SYSTEM MASTER calling option}
  630.  
  631.                      This is a very basic program loading example, but will
  632.                      suffice in approximately 80% of the application programs
  633.                      that most of us utilize.
  634.  
  635.                      Some software products will require you to enter a
  636.                      number of additional commands (PATH=..., Set X=Y..., ...).
  637.  
  638.                      SYSTEM MASTER has the capabilities to handle any program
  639.                      execution requirements.
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.      Release Date: 21 January, 1991
  659.      -------------------------------------------------------------------------
  660.      System Master 3.2                                              Page 10-11
  661.