Site hosted by Angelfire.com: Build your free website today!

MS-DOS External Commands

The SMARTDRV Command

Description:

Installs and configures the SMARTDrive disk-caching utility.

Command Syntax:

SMARTDRV [[drive[+|-]]...] [/E:ElementSize] [InitCacheSize][WinCacheSize]] [/B:BufferSize] [/C] [/R] [/L] [/Q] [/S] [/V]

Explanation of Syntax:

[drive] specifies the drive for which to control caching. You can specify multiple drives.
[+] enables write-behind caching for the specified drive.
[-] disables all caching for the specified drive.
[/E:ElementSize] specifies how many bytes of information to move at one time.
[InitCacheSize] specifies how many KB of XMS memory to use for the cache.
[WinCacheSize] specifies how many KB of XMS memory to use for the cache when running Windows.
[/B:BufferSize] specifies the size of the read-ahead buffer.
[/C] writes all write-behind information to the hard disk.
[/R] clears the contents of the cache and restarts SMARTDrive.
[/L] loads SMARTDrive into conventional memory.
[/Q] prevents SMARTDrive from displaying status messages when it starts.
[/S] displays additional information about SMARTDrive's status.
[/V] displays SMARTDrive status messages when starting.

Command Use:

This command can be used at the command prompt and in batch files.