Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Window7DOS common commands

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1. Basic command

1 dir

No parameters: view the files and folders in the current directory.

/ s: view the files and folders of the current directory that have all its subdirectories.

/ a: view all files including implied files.

/ ah: only implicit files are displayed.

/ w: displays files and folders in a compact manner (5 files on one line).

/ p: displayed in paging mode (automatically paused after a page is displayed).

| more: the previous symbol is the one above "\", which is called the redirect symbol, which outputs the result of one command to the parameters of another command. More is also a command. The result of dir/w | more is the same as that of dir/w / p. Other parameters can be used: dir/? Check.

2 cd

Cd directory name: enter a specific directory. If you see a directory that reads: abcdef ghi, enter: cdabcdef.ghi to enter the directory.

Cd\ go back to the root directory.

Cd.. Go back to the previous directory.

3 md rd

Md directory name: create a specific folder. (it is customary to call directories under dos and folders under win)

Rd directory name: delete a specific folder.

4 cls

Clear the screen.

5 copy

Copy path\ filename path\ filename: copy a file to another place.

6 move

Move path\ file name path\ file name: move a file (that is, cut + copy) to another place.

7 del

Del filename: deletes a file.

Del.: deletes all files under the current folder.

Del cannot delete a folder.

8 deltree

Delete the folder and all the subfolders under it as well as files, awesome. Don't misuse it.

9 format

Format x:: X represents the drive letter and formats a partition. Under dos, it is formatted in the fat file system, and you will be asked if you want to convert to ntfs during windows2000 installation.

10 type

Type text file name: displays the contents of the text file.

11 edit

Actually, this is a Mini Program, used to edit text files.

12 ren

Ren old file name new file name: change the file name.

13 exit

Exit the command line

Common commands about the network

1 ping

Ping host ip or name: send 4 icmp packets to the target host to test whether the other host receives and responds. It is often used to test whether the ordinary network is unobstructed. However, the difference in ping does not mean that the network is not connected. It is possible that the target host has a firewall and prevents icmp responses.

Ping-t: keep sending packets. Of course they're all very small. Some people write programs similar to ping commands, constantly sending large packets to block the network connection of the target host.

2 net

The suggestion is to use net /? Get specific help information. There are really a lot of parameters, and there are parameters under the parameters. Commonly used: net view\ host to look at sharing, netstart/stop services to start and stop services, messenger services are not very popular with individuals.

3 netstat

Netstat host: view the current tcp/ip connection status of the host, such as the status of the port.

4 nbtstat

Nbtstat host: view the NetBIOS name used by the host.

5 tracert

Tracert host: see which paths you have taken machine by machine from yourself to the target. Such as:

Tracert www.ncie.gov.cn and then wait. You will see that you pass through a routing node, generally larger routers, such as telecommunications backbone routes, except for ip, are marked in English.

6 pathping

Pathping host: similar to tracert, but can display some messages that tracert cannot display. You can try it yourself.

7 ftp

I like to use ftp in character mode.) there is no need to install cuteftp.

Bty exits the ftp session

8 telnet

Character-based remote login program is a [remote login] program that network personnel love to use very much. Recently, I often use it to debug mail servers.

9 ipconfig is very useful for network configuration and troubleshooting. Orders. Displays the network interface status of the current machine without parameters.

/ all begins with detailed information.

/ release releases the current ip.

/ renew re-apply for ip.

/ flushdns flushes dns cache.

/ registerdns replant dns server to register yourself.

10 arp operates on the current arp cache.

-a displays the arp cache.

-d Delete a cache record.

-s the Tian family has a cache record.

11 nslookup is a sharp weapon to eliminate dns errors. Is an interactive tool. Try to figure out what dns does and how dns works before using it.

Xcopy is an external command, that is to say, a Mini Program, sometimes it is not found on the floppy disk or on the hard disk, of course, the courage to make it easier to use than copy, I like to add the / e parameter.

Smartdrv.exe loads the disk cache, and the parameter is the size of the cache, in kb.

Wiaacmgr- Scanner and camera Wizard

Write---- WordPad

Wscript.exe--windows script hosting Settings

Wupdmgr--windows update program (do not open it if it is not a genuine system)

Wmimgmt.msc- opens windows Governance Architecture (WMI)

Winver--- checks the Windows version

Winmsd--- system Information

Winchat- has its own local area network chat

Utilman-- accessory tool manager

Taskmgr-- Task Manager

Tsshutdn-60 second countdown shutdown command

Sfc / scannow---windows file protection (scan for errors and restore)

Sfc.exe-- system File Checker

Sndvol32- volume control program

Syskey--- system encryption

Secpol.msc-- Local Security Policy

Shrpubw-- creates a shared folder

Sndrec32- tape recorder

Sigverif- file signature verifier

Sysedit-- system configuration editor

Syncapp-- creates a briefcase

Services.msc--- Local Service Settings

Sndrec32- tape recorder

Regedit.exe- registry

Rsop.msc- Group Policy result set

Regedt32- registry editor

Rononce-p-15 seconds shutdown

Packager- object wrapper

Perfmon.msc- computer function monitoring program

Progman-- program manager

Odbcad32-ODBC data Source Manager

Osk---, open the on-screen keyboard.

Oobe/msoobe / a-check if windows is activated

Nslookup-IP address detector

The netstat-an- (TC) command checks the interface

Ntmsoprq.msc--- Mobile Storage Manager manipulates and pleads

Ntmsmgr.msc- removable Storage Manager

Narrator- screen "narrator"

Ntbackup- system backup and restore

Tool Wizard for nslookup- Network Governance

Notepad--, open your notepad.

Net start messenger- starts messenger service

Net stop messenger-- rest Messenger Service

Net stop messenger-- rest Messenger Service

Net start messenger- starts messenger service

Notepad--, open your notepad.

Mobsync-- synchronization command

Mmc--- opens the console

Magnify-- magnifying glass utility

Mplayer2- Media player

Mspaint-- drawing board

Mplayer2- simple widnows media playe

Mem.exe-- shows the memory usage (if the direct run is invalid, you can run cmd first, type mem.exe > d:a.txt at the command prompt to open the d disk to view the a.txt, which is the memory usage. Of course, what disk and what file name can be decided by yourself. )

Msconfig.exe--- system configuration Utility

Mstsc- remote Desktop connection

Lusrmgr.msc- native users and groups

Logoff- logout command

Iexpress- tools, included with the system

Gpedit.msc-- Group Policy

Fsmgmt.msc-- shared folder Manager

Eudcedit- word-making program

Eventvwr- event Viewer

Explorer- opens the resource manager

Ddeshare- opens DDE sharing settings

Dcomcnfg- opens the system component service

Dxdiag--- checks DirectX information

Drwtsn32--- Systems Doctor

Devmgmt.msc--- device manager

Dfrg.msc- disk fragment sorting program

Diskmgmt.msc--- disk Governance Utility

Dvdplay--DVD player

Ciadv.msc--- Index Service Program

Clipbrd-- Clipboard Viewer

Cliconfg-SQL SERVER client Network Utility

Certmgr.msc- Certificate Governance Utility

Cmd.exe--CMD command prompt

Chkdsk.exe--Chkdsk disk check

Calc-- starts the calculator

Charmap-- startup character mapping table

Conf-- starts netmeeting

Compmgmt.msc--- computer governance

Cleanmgr- Open disk cleanup tool

WIN7 run commands Daquan

Wiaacmgr- Scanner and camera Wizard

Write---- WordPad

Wscript.exe--windows script hosting Settings

Wupdmgr--windows update program (do not open it if it is not a genuine system)

Wmimgmt.msc- opens windows Governance Architecture (WMI)

Winver--- checks the Windows version

Winmsd--- system Information

Winchat- has its own local area network chat

Utilman-- accessory tool manager

Taskmgr-- Task Manager

Tsshutdn-60 second countdown shutdown command

Sfc / scannow---windows file protection (scan for errors and restore)

Sfc.exe-- system File Checker

Sndvol32- volume control program

Syskey--- system encryption

Secpol.msc-- Local Security Policy

Shrpubw-- creates a shared folder

Sndrec32- tape recorder

Slmgr.vbs-dli-- to check the specific version number of Windows 7

Sigverif- file signature verifier

Sysedit-- system configuration editor

Syncapp-- creates a briefcase

Services.msc--- Local Service Settings

Sndrec32- tape recorder

Regedit.exe- registry

Rsop.msc- Group Policy result set

Regedt32- registry editor

Rononce-p-15 seconds shutdown

Packager- object wrapper

Perfmon.msc- computer function monitoring program

Progman-- program manager

Odbcad32-ODBC data Source Manager

Osk---, open the on-screen keyboard.

Oobe/msoobe / a-check if windows is activated

Nslookup-IP address detector

The netstat-an- (TC) command checks the interface

Ntmsoprq.msc--- Mobile Storage Manager manipulates and pleads

Ntmsmgr.msc- removable Storage Manager

Narrator- screen "narrator"

Ntbackup- system backup and restore

Tool Wizard for nslookup- Network Governance

Notepad--, open your notepad.

Net start messenger- starts messenger service

Net stop messenger-- rest Messenger Service

Net start messenger- starts messenger service

Notepad--, open your notepad.

Mobsync-- synchronization command

Mmc--- opens the console

Magnify-- magnifying glass utility

Mplayer2- Media player

Mspaint-- drawing board

Mplayer2- simple widnows media player

Mem.exe-- shows the memory usage (if the direct run is invalid, you can run cmd first, type mem.exe > d:a.txt at the command prompt to open the d disk to view the a.txt, which is the memory usage. Of course, what disk and what file name can be decided by yourself. )

Msconfig.exe--- system configuration Utility

Mstsc- remote Desktop connection

Lusrmgr.msc- native users and groups

Logoff- logout command

Iexpress- tools, included with the system

Gpedit.msc-- Group Policy

Fsmgmt.msc-- shared folder Manager

Eudcedit- word-making program

Eventvwr- event Viewer

Explorer- opens the resource manager

Ddeshare- opens DDE sharing settings

Dcomcnfg- opens the system component service

Dxdiag--- checks DirectX information

Drwtsn32--- Systems Doctor

Devmgmt.msc--- device manager

Dfrg.msc- disk fragment sorting program

Diskmgmt.msc--- disk Governance Utility

Dvdplay--DVD player

Ciadv.msc--- Index Service Program

Clipbrd-- Clipboard Viewer

Cliconfg-SQL SERVER client Network Utility

Certmgr.msc- Certificate Governance Utility

Cmd.exe--CMD command prompt

Chkdsk.exe--Chkdsk disk check

Calc-- starts the calculator

Charmap-- startup character mapping table

Conf-- starts netmeeting

Compmgmt.msc--- computer governance

Cleanmgr- Open disk cleanup tool

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report