Use of time, Set, smartdrv commands _dos/bat

Source: Internet
Author: User
Tags current time
Time display and modification times

[Applicable occasion] used to display and modify the time, use the same date

[Example] C:\dos>time
Current time is 12:15:26.04a
Enter New time:11:20:20.00p

On time: In-order input times, plus the afternoon (a/p) can be directly pressed enter key to ignore
Modification time.

Set setting environment variables

[Applicable occasions] to set the sound card and path to use when

[Usage] SET [environment variable]=[string]

This order is often used in Autoexec.bat.

[Example] c:\>set blaster=a220 i5 d1 Setting the parameters of a sound card

C:\>set Path=c:\dos path C:\dos the same meaning

SMARTDRV Set up Disk accelerator

[Recommended] It can improve the speed of hard disk access, preferably in the Autoexec.bat file load it.

[Usage] smartdrv/x

Execute and reside memory, open disk acceleration buffer, and block all drive caches, is
More commonly used methods (general use of this command is enough)

Smartdrv/c writes the information in the cache to the hard drive

SMARTDRV/E: Numbers set the amount of information moved at a time

Smartdrv/b: Number set pre-read buffer size

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.