Description:
    This batch file attempts to verify that the level E serial port diagnostic commands
    can be executed.
   
******************************************************************************************
    Clear the Expected Batch File Errors.
   ******************************************************************************************
    All Level '*' Command: Special Batch File Function - Clear Expected Errors
   
******************************************************************************************
    Enable error logging and clear the error log.
   ******************************************************************************************
    -/LE1                               Level L 'E' Command: Enable / Disable Logging
    -/LiFFFC                            Level L 'i' Command: Initialize Log File
   
******************************************************************************************
    Display the help information for the Level E commands.
   ******************************************************************************************
    -/CQE                               Level C 'Q' Command: Display ASCII Command Information
   
******************************************************************************************
    Change to Command Level E.
   ******************************************************************************************
    -/E                                 All Level '/' Command: Change Diagnostic Command Level
   
******************************************************************************************
    Test the read and write commands.
   
    Before executing the read and write commands, set the Test Space to single track mode
    and seek to a known track.  This initializes the diagnostic current and target address
    for future commands that use them.
   
    Writes are performed before reads to guarantee that the track has been written in the
    desired format.  Wedge reads and writes are followed by sector reads and writes to
    guarantee that the sector and buffer configuration will be restored to the standard
    mode before exiting.
   
    Note: Since we are reading and writing on a track whose defect status is unknown, the
    Read Wedge command may generate a Wedge Read Failed error (DiagError 5005) and the Read
    command may generate a Read Failed error (DiagError 5003).
   ******************************************************************************************
    -A0                                 All Level 'A' Command: Set Test Space
    -/2S200,0                           Level 2 'S' Command: Seek to Logical Cylinder and Head
    -.                                  Online '.' Command: Display Active Status
    -/E                                 All Level '/' Command: Change Diagnostic Command Level
    -B                                  'B' Command: Write Wedge
    -.                                  Online '.' Command: Display Active Status
    -*A,5005,0,1                         All Level '*' Command: Special Batch File Function - Set Expected Error
    -C                                  'C' Command: Read Wedge
    -.                                  Online '.' Command: Display Active Status
    -/2S200,0                           Level 2 'S' Command: Seek to Logical Cylinder and Head
    -.                                  Online '.' Command: Display Active Status
    -/2W                                Level 2 'W' Command: Write CHS
    -.                                  Online '.' Command: Display Active Status
    -*A,5003,0,1                         All Level '*' Command: Special Batch File Function - Set Expected Error
    -/2R                                Level 2 'R' Command: Read CHS
    -.                                  Online '.' Command: Display Active Status
    -/Ew                                'w' Command: Slow Write CHS
    -.                                  Online '.' Command: Display Active Status
    -*A,5003,0,1                         All Level '*' Command: Special Batch File Function - Set Expected Error
    -/2R                                Level 2 'R' Command: Read CHS
    -.                                  Online '.' Command: Display Active Status
   
******************************************************************************************
    Display the Active Error Log and check if the Batch File failed.
   ******************************************************************************************
    -*B                                 All Level '*' Command: Special Batch File Function - Display Log
    -|                                  '|' Command: Batch File Terminator