KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q28160: QB /L A: Does Not Find QB.QLB If SET LIB=A: Is Not Set

Article: Q28160
Product(s): See article
Version(s): 6.00 6.00b 7.00
Operating System(s): MS-DOS
Keyword(s): ENDUSER | | mspl13_basic
Last Modified: 2-FEB-1990

Problem:

If the default Quick library file QB.QLB is on Drive A and no LIB
environment variable is set, then the following command line fails to
find QB.QLB:

   QB /L A:

Response:

This is how the Quick library search is supposed to work. If no
argument is given to the /L switch, QB.EXE looks for a filename of
QB.QLB. Otherwise, if you specify a drive such as Drive A, QB.EXE
assumes that you are specifying a Quick library name other than
QB.QLB.

The following are easy workarounds:

1. Specify QB /L A:QB, which is only two characters longer.

2. An alternate workaround is to perform the following command from
   the DOS command line before running QB /L:

      SET LIB=A:

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.