Microsoft DOS SCANDISKSETSETVERSETVER.EXESHARESHELLSHIFTSIZER Draft for Information Only
ContentMS DOS Command: SMARTDRV.EXE
MS DOS Command: SMARTDRV.EXEReference from Microsoft MS-DOS cmd help DescriptionStarts or configures SMARTDrive, which creates a disk cache in extended memory. A disk cache can significantly speed up MS-DOS disk operations. When used for disk caching, SMARTDrive is loaded by using the SMARTDRV command in your AUTOEXEC.BAT file or at the command prompt. SMARTDrive can also perform double buffering, which provides compatibility for hard-disk controllers that cannot work with memory provided by EMM386 or Windows running in 386 enhanced mode. To use double buffering, load the SMARTDRV.EXE device driver by using a DEVICE command in your CONFIG.SYS file. SMARTDrive will not load after Windows has started. SyntaxWhen starting SMARTDrive from your AUTOEXEC.BAT file or from the command prompt, use the following syntax: [drive:][path]SMARTDRV [/X] [[drive[+|-]]...] [/U] [/C|/R] [/F|/N] [/L] [/V|/Q|/S] [InitCacheSize[WinCacheSize]] [/E:ElementSize] [/B:BufferSize]
Once SMARTDrive is running, use the following syntax: SMARTDRV [/X] [[drive[+|-]]...] [/C|/R] [/F|/N] [/Q|/S]
To view the current status after SMARTDrive has loaded, use the following syntax: SMARTDRV
Parameters
Switches
Caution: Check that SMARTDrive has completed all write-caching before you restart or turn off your computer. (This is not necessary if you restart your computer by pressing CTRL+ALT+DELETE.) To have SMARTDrive write all cached information to cached disks, type SMARTDRV /C at the command prompt. After all disk activity has stopped, you can safely restart or turn off your computer. RemarksEnabling write caching on specific drivesBy default, MS-DOS Setup configures SMARTDrive so that write-caching is disabled. This configuration is extremely safe, but does not provide optimum speed. After SMARTDrive starts, you can use the SMARTDRV command to enable write caching on specific drives. This can significantly speed up your system. To enable write-caching on a particular drive, carry out the SMARTDRV command and specify the drive letter and a plus sign. For example, to enable write-caching on drive C, you would type the following: smartdrv c+ For information about enabling write-caching for compressed drives, see "SMARTDrive and Compressed Drives" later in this help topic. Using extended memoryFor SMARTDrive to use extended memory, your CONFIG.SYS file must contain a DEVICE command for HIMEM.SYS or another extended-memory manager that conforms to the Lotus/Intel/Microsoft/AST eXtended Memory Specification (XMS). Loading SMARTDrive into the upper memory areaIf the upper memory area is available through MS-DOS, SMARTDrive will automatically load into upper memory. You do not need to use the LOADHIGH command with SMARTDrive. If your hard disk requires double buffering, SMARTDrive may run faster if its cache is located in conventional memory. To load SMARTDrive into upper memory and its cache in conventional memory, use the following command: loadhigh smartdrv /l SMARTDrive and compressed drivesSMARTDrive does not actually cache compressed drives; instead, it caches the physical (host) drive on which the compressed volume file is located. This improves the speed of both the physical drive and the compressed drive. SMARTDrive and CD-ROM drivesIf you are using a CD-ROM drive and you want to cache it, load MSCDEX before you load SMARTDrive. If you do not want to cache the CD-ROM drive, load SMARTDrive with the /U switch. (Note that MS-DOS Setup adds the SMARTDRV command to the beginning of your AUTOEXEC.BAT file, before any other commands.) To find out whether SMARTDrive is caching your CD-ROM drive, type SMARTDRV at the command prompt. ExamplesTo create a SMARTDrive disk cache and use the default cache size, add the following command to your AUTOEXEC.BAT file: c:\dos\smartdrv Example: A typical SMARTDrive command Suppose you want to create a disk cache with a cache size of 2048K, and ensure that Windows will not reduce the size of the cache to less than 1024K. To do this and to specify that the SMARTDRV.EXE file is located in the DOS directory on drive C, add the following line to your AUTOEXEC.BAT file: c:\dos\smartdrv 2048 1024 Example: Enabling and disabling caching on specific drives Suppose that SMARTDrive is already running and you want to enable write caching on drive C. To do this, type the following at the command prompt: smartdrv c+ Suppose you want to configure SMARTDrive to disable all caching of your floppy-disk drives and enable write caching on Interlnk drive D. (Interlnk drives, like floppy-disk drives, are not write-cached by default because it's possible to lose access to the drive before all information has been written from the cache). To do this, you would add the following command to your AUTOEXEC.BAT: c:\dos\smartdrv a- b- d+ Example: Saving cached information on the hard disk Before pressing your computer's reset button or turning off your computer, it is a good idea to have SMARTDrive write all cached information from memory to any cached disks. To do this, type the following at the command prompt: smartdrv /c You will not need to use this command before restarting your computer by pressing the CTRL+ALT+DELETE keys: SMARTDrive detects the CTRL+ALT+DELETE key sequence and automatically writes all information to cached disks before allowing the system to restart. ©sideway ID: 110700260 Last Updated: 7/30/2011 Revision: 0 Latest Updated Links
![]() ![]() ![]() ![]() ![]() |
![]() Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Travel 18 Reference 79 Computer Hardware 254 Software Application 213 Digitization 37 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 431 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019