当前位置:网站首页>CMD operation command

CMD operation command

2022-07-26 05:05:00 Spy family

# cmd operation

cmd yes windows The operating system comes with a command prompt box ( Command operation interface ), You can perform some operations on the current operating system .

#### cd:

  Toggle directory

cd ../abc   Switch to the parent path under the current path abc Catalog

#### dir:

Check the brief situation of the current directory Including all files and storage conditions of the current path

#### mkdir:

Create a directory   abbreviation  :  md

mkdir abc   Create a in the current path abc Catalog

#### rd:

Delete a directory

rd abc /S Recursive delete abc And abc All the files in the directory

rd abc /q Silent delete Don't show tips

#### echo

Output instruction

echo abc Output in the current command window abc

#### write file

echo abc>"./aa.txt"   Create a... In the current path aa.txt file , And write abc character string

echo def>>"./aa.txt" stay aa.txt Add... To the file def character string

#### del

Delete a file under the current path

del abc.txt

/f Delete read-only file ( Mandatory deletion )

/p Delete with warning

/q silent mode

#### cls

Clear the screen

#### ping

Check the connectivity between the current host and the target host

#### ipconfig

Check the network card of the current computer

原网站

版权声明
本文为[Spy family]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/207/202207260501225269.html

随机推荐