SMARTDrive Drive Letter Parameters Should Not Contain a Colon

Last reviewed: November 21, 1994
Article ID: Q85580
The information in this article applies to:
  • Microsoft Windows operating system versions 3.1, 3.11

SUMMARY

The drive letter command line parameters for SMARTDRV.EXE version 4.0 should not contain a colon (:) after the drive letter. If there is a colon after the drive letter on the command line for SMARTDrive, no caching changes will take effect on the specified drive.

MORE INFORMATION

SMARTDRV.EXE version 4.0, which is shipped with Windows version 3.1, allows the use of command line parameters to control the caching of individual drives.

By entering the drive letter on the command line after SMARTDRV.EXE, followed optionally by a plus sign (+) or minus sign (-), the caching status of the drive can be modified. However, if the drive letter is followed by a colon (:), SMARTDRV.EXE will make no caching changes.

A colon is considered an invalid switch, and SMARTDRV.EXE will display the Help menu instead of caching information.

The following is an example of the correct syntax for changing the caching status of a drive:

   smartdrv c d- e+

This command enables read-only caching for drive C, no caching for drive D, and read and write caching for drive E.


KBCategory: kbsetup kbdisplay kbenv kbtool
KBSubcategory: win31 winmem
Additional reference words: 3.10 3.1 3.11 enable disable


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.

Last reviewed: November 21, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.