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