Home   MS-DOS Home   A-Z   NS Utilities   Command Syntax

SMARTDRV

Home >> MS-DOS Reference >> Command Categories >> File and Disk Management >> SMARTDRV

File and Disk Management

File and Disk Management


Summary
Description
Command Syntax
Comments
Supported DOS versions: MS-DOS 5+
How easy to use? Moderate
How safe to use? Fairly safe
How common? Less well known
Internal or external command? External

Description

Starts SMARTDrive, a disk caching program which speeds up access to frequently used files.

Command Syntax

Loading SMARTDrive:

SMARTDRV [[drive[+ | -]] ...] [/e:elementsize] [initcachesize] [wincachesize] [/b:buffersize] [/c] [/r] [/l] [/q] [/v] [/s] [/u]

Once SMARTDrive has started:

SMARTDRV [[drive[+ | -]] ...] [/c] [/r]

Default values for initcachesize and wincachesize

Extended memory

Default initcachesize

Default wincachesize

Up to 1MB All extended memory Zero (no caching)
Up to 2 MB 1 MB 256 KB
Up to 4 MB 1 MB 512 KB
Up to 6 MB 2 MB 1 MB
Over 6 MB 2 MB 2 MB

Comments

Warning  One major flaw in older versions of SMARTDrive, particularly the one supplied with DOS 6.0, is that it does not always write cached data to disk before the DOS prompt reappears. This can cause serious damage and data loss. Before rebooting with the reset switch or switching off, ALWAYS run SMARTDRV /C to ensure this does not happen. Rebooting with CTRL+ALT+DEL is caught by SMARTDrive and this is not a problem.

If you wish to cache a CD-ROM drive. SMARTDrive must appear AFTER MSCDEX is loaded (otherwise it can't find the CD-ROM; pretty obvious really).

When using Windows 3.11 it is not necessary to use SMARTDrive for hard disk caching as it comes with its own disk cache, IFSHLP.SYS, which uses less memory. However if you wish to cache CD-ROM drives you will need to use SMARTDrive.

SMARTDrive should not be started while Windows is running.

Some hard disk controllers cannot work properly with the memory provided by EMM386 or Win3.1x's 386 enhanced mode. To enable it to work, add the following line to your CONFIG.SYS file:

DEVICE=SMARTDRV.EXE /DOUBLE_BUFFER

This must appear BEFORE EMM386 and it cannot be loaded into high memory.

Home Home
MS-DOS MS-DOS Home
A - Z Index A - Z Index

Top of page
Summary
Description
Command Syntax
Comments




Top of page    Home    MS-DOS Home    NS Utilities
Copyright © 2005 Marcus Houlden  |  Copyright and Data Protection

Printed from the NukeSoft MS-DOS Reference. Copyright © 1995 - 2006 Marcus Houlden