DOS Command Basics for Windows

Source: Internet
Author: User
Tags clear screen

What is a DOS command

DOS commands, computer terminology, refers to DOS operating system commands, is a disk-oriented operation command, mainly including directory operation class commands, disk operation class commands, file operation class commands and other commands.

Bring up the Run dialog: Win+r shortcut key

Open a naming prompt, the DOS command window

Enter Help to view DOS commands under the current command line window

When we use basic DOS commands, we can append detailed parameters to help you with the specified actions.

Use/? To view the parameters that can be appended

Below I'll show you the most common DOS commands

is not very simple, in fact, these operations we use the mouse can be implemented, but the early operating system does not have a GUI (form the interface), even the mouse is not, using the computer can only be used by the keyboard to face a black box to knock command, then why we enter the command can pop up a GUI interface window? Knowing its reason, the environment variable path of the command is C:\Windows\System32.

CMD common commands

Dir View current directory

CD Switch Directory

mkdir Creating a Directory

RmDir Deleting a directory

del Delete file

Copy copied files

Type View file contents

Exit cmd command Line window

CLS Clear Screen

Network commands

Ping

Ipconfig

Common shortcut keys

1 Ctrl + C//Copy
2 Ctrl + V//paste
3 CTRL + X//Cut
4 CTRL + A//all selected
5 CTRL + Z//Undo
6 CTRL + S//Save

WIN10 System shortcut keys

1 Windows + D//Open Desktop

2 windows + E//Open Explorer folder

3 Windows + R//Open cmd window

System Tools shortcut keys

1 Calc//Calculator

2 Notepad//Notepad

3 MSPaint//Drawing

4 Diskmgmt.msc//Disk Management tools

5 Compmgmt.msc//Computer Management

6 lusrmgr.msc//user and Group management

7 Services.msc//Services

8 gpedit.msc//Group Policy

9 regedit//Registration Form

Shutdown

Shutdown.exe-s shut down the machine

Shutdown.exe-a Cancel shutdown

Shutdown.exe-r Shutdown and restart

Shutdown.exe-f forcibly shutting down the application

Shutdown.exe-l Log off the current user

SHUTDOWN.EXE-M \ computer Name control remote computer

Shutdown.exe-i Display graphical user interface

Shutdown.exe-t Time setting Shutdown countdown

SHUTDOWN.EXE-C "Message Content" Enter the message content in the Shutdown dialog box (cannot exceed 127 characters)

Example:
The computer shuts down at 24:00 –at 24:00 shutdown-s
Countdown mode shutdown –shutdown.exe-s-T 7200

CMD Command Advanced

Doskey/history

Netstat-ano

ipconfig | Find "IPV4 Address"

echo "HelloWorld" > C:\1.txt

net stop Telnet

DOS Command Basics for Windows

Related Article

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.