Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page




 

Microsoft DOS smartdrv command

Quick links

About smartdrv
Availability
Syntax
Examples

About smartdrv

The smartdrv, or smartdrive, is a utility that can be loaded in the autoexec.bat to create a disk cache in conventional memory or extended memory.

Many times users will use this utility on their boot disks as it can sometimes greatly increase the speed of how MS-DOS accesses disk drives. 

Note: Users who are using Microsoft Windows instead of MS-DOS should not load this line in the autoexec.bat and should not run this command while Windows is running. Users running Microsoft Windows 95 / 98 will not be able to load this command unless they are in a MS-DOS shell.

Availability

The smartdrv.exe command is an external command that is available in the below Microsoft operating systems.

MS-DOS 6.0 and above
Windows 3.x
Windows 95
Windows 98

Index

Category:
MS-DOS

Companies:
Microsoft

Related Pages:
Operating systems

Resolved

Were you able to locate the answer to your questions?

Syntax

Installs and configures the SMARTDrive disk-caching utility.

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


/XDisables write-behind caching for all drives.
driveSets caching options on specific drive(s). The specified drive(s) will have write-caching disabled unless you add +.
+Enables write-behind caching for the specified drive.
-Disables all caching for the specified drive.
/UDo not load CD-ROM caching module.
/CWrites all information currently in write-cache to hard disk.
/RClears the cache and restarts SMARTDrive.
/FWrites cached data before command prompt returns (default).
/NDoesn't write cached data before command prompt returns.
/LPrevents SMARTDrive from loading itself into upper memory.
/VDisplays SMARTDrive status messages when loading.
/QDoes not display status information.
/SDisplays additional information about SMARTDrive's status.
InitCacheSizeSpecifies XMS memory (KB) for the cache.

Extended memoryInitCacheSize value
1MB or lessAll
1MB to 2MB1MB
2MB to 4MB1MB
4MB to 6MB2MB
6MB or more2MB
WinCacheSizeSpecifies XMS memory (KB) for the cache with Windows. If this option is not specified smartdrv will default the wincachesize to the amount of extended memory available. Below is a basic chart of what will be set.

Extended memoryWinCacheSize value
1MB or less0
1MB to 2MB256KB
2MB to 4MB512KB
4MB to 6MB1MB
6MB or more2MB
/E:ElementSizeSpecifies how many bytes of information to move at one time.
/B:BufferSizeSpecifies the size of the read-ahead buffer.

Examples

c:\dos\smartdrv.exe /x

Placed in the autoexec.bat. This command loads the smartdrv utility into memory and allows it to be used as well as disables the write-behind caching for all drives.

c:\dos\smartdrv.exe  C 1024 512

Specifies a size to be used with smartdrv. When a cache size is not specified, smartdrv will use all extended or expanded memory.

 

Home - Computer help - Contact - Site Map - About Us
Link to Computer Hope - Bookmark Computer Hope