Doskey command Usage Instructions

Source: Internet
Author: User

Doskey: Invoke and create a DOS macro command

[Applicable occasions]

There is a lot of use when you need to enter repetitive commands.

Usage

Doskey

The Doskey resides in memory, creates a buffer, and the commands entered later are saved in the buffer and can be invoked at any time

DOSKEY [Macro command name]=[command name]

To define a macro command as a command, and then enter a macro command, the computer will execute the appropriate command

Doskey/reinstall Reinstall Doskey

Doskey/bufsize= set the size of the buffer

Doskey/macros Display all Doskey macros

Doskey/history display all commands in memory

Doskey/insert|overstrike sets whether the newly typed characters overwrite the old characters

Example

C:\>doskey

C:\>dir

C:\>copy C:\temp\*.* A:

C:\>del C:\temp\*.*

C:\>copy b:\*.* C:\Temp

All of the above four commands have been saved, with the cursor control key can choose to use or modify in turn, you can use the F7 key to list all the saved commands

C:\>doskey di=dir/w/p//define DI as Macro command, which means execute dir/w/p

FDISK: Hard disk partitions

[Recommended] Only if the hard disk is infected with a very good virus, or a new hard disk needs to partition, it is best to ask the knowledgeable person to guide. Hard drives need to go through low-level formatting, partitioning, formatting three steps

Can be used, the hard drive in the finished computer has already done these processing. This article is from http://bianceng.cn (learn computer)

[Usage] Enter fdisk and press ENTER to enter the prompt interface

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.