Dos basic opening method and common commands

Dos basic opening method and common commands

Dos: is the abbreviation of Disk Operation System

How to open CMD

1. Start + Windows system + command prompt

2. Win key + R enter cmd to open the console

3. Under any folder, hold down the Shift key and click the right mouse button to open the command line window (Powershell window) here

      PowerShell是跨平台的,cmd是Windows专用的

4. Add the cmd path in front of the address bar of the explorer

Run as administrator: start+system+command prompt+choose to run as administrator

Commonly used DOS commands

#盘符切换
切换到E盘  空格+E:+回车
#查看当前目录下的所有文件  dir  "directory"
#切换目录  cd "change directory"
#跨盘符切换 cd /d +盘符 
   从C盘切换到E盘  cd /d D:+回车
   从C盘切换到E盘中youku Files目录
        cd  /d E:\youku Files
   退回E目录  cd..
#退回上级目录  cd..
#清除屏幕 cls "clear screem"
#退出终端 exit
#查看电脑ip   ipconfig

#打开应用
   打开计算器 calc  "calculator"
   打开画图工具 mspaint  
   打开记事本 notepad 
   
#ping 命令
   ping www.baidu.com  查看百度IP
#粘贴 鼠标右键

#文件操作 
#创建文件夹 md 目录名
  创建123文件夹 md 123
#移除文件夹   rd 
#创建文件 cd> 文件名
  创建word.docx文件  cd> word.docx
#删除文件 del 文件名

Guess you like

Origin blog.csdn.net/weixin_44302662/article/details/113758589