Joke Collection Website - Public benefit messages - What commands are there in DOS?
What commands are there in DOS?
First, the basic command
1 directory
No parameters: View files and folders in the current directory.
/s: View files and folders in the current directory and all its subdirectories.
/a: View all files, including hidden files.
/ah: Show only hidden files.
/w: Displays files and folders in a compact way (5 files in a row).
/p: Paged display (it will automatically pause after displaying one page).
|more: The symbol in front is the one above "\", which is called the redirection symbol, that is, putting a
The result of one command is output as a parameter of another command. More is also an order, dir /w |more.
The result is the same as that of dir /w /p p p.
You can use other parameters: dir/? View.
2 CDs
Cd directory name: Enter a specific directory. If you see a directory that says: abcdef ghi, just
Enter: cdabcdef.ghi to enter the directory.
Cd\ restore to the root directory.
Cadmium .. Return to the previous directory.
3 rd boulevard
Md Directory Name: Create a specific folder. (dos is used to calling directories, and win is used to calling text.
Clip. Ha ha! )
Rd directory name: delete a specific folder.
4 cls
Clear the screen.
5 copies
Copy Path \ File Name Path \ File Name: Copy the file to another place.
6 move
Move Path \ File Name Path \ File Name: Move (that is, cut+copy) a file to another file.
A place.
7 del
Delete file name: Delete a file.
Del *. *: Delete all files in the current folder.
Del could not delete the folder.
8 Deltry Street
Delete this folder and all its subfolders and files. That's great. . . Don't use it indiscriminately.
9 format
X:: x represents the drive letter and formats a partition. Use Fat file system format in dos.
Yes, you will be asked if you want to convert to ntfs when installing windows2000.
10 type
Type text file name: Displays the contents of the text file.
1 1 Edit
In fact, this is a small program for editing text files.
12
Any old file name and new file name: change the file name.
Second, the common commands about the network
1 flat
Ping host ip or name: send four Internet control message protocols to the target host to test whether the other host receives them.
To respond, it is generally used to test whether the ordinary network is unobstructed. But ping doesn't mean the network.
Unable to connect, the target host may have a firewall and prevent icmp response.
Ping -t: Continue sending packets. Of course, they are too small to be called attacks. Some people wrote it themselves.
Some programs similar to ping command are introduced, and large packets are sent continuously to block the target host.
Network connection.
2 net
The suggestion is to use net/? Get specific help information. There are really many parameters, and there are parameters below.
Count. Commonly used: net view \\ host to see * * * enjoy, net start/stop service to start and stop.
I don't like courier service very much.
3 netstat
Netstat host: View the current tcp/ip connection status of the host, such as port status.
4 National Bureau of Statistics
Nbtstat host: Check the NetBIOS name used by the host.
5 tracert
Tracert host: one by one, look at how far you have gone from yourself to your goal. For example:
Www.ncie.gov.cn then waited. . . You will see the part of the route you have passed.
Generally, larger routers, such as the backbone routes of telecommunications, are marked in English except ip.
Yes
6 pathping
Pathping host: Similar to tracert, but it can display some letters that tracert can't.
Rest. You can try it yourself.
7 ftp
Character ftp, I like to use; Cuteftp is not required.
8 Remote login
Character-based remote login program is a very popular remote login program for network personnel. I've been often recently.
Used to debug the mail server.
9 ipconfig is very useful for network configuration and debugging. . . Orders.
Displays the network interface status of the current machine without parameters.
/Everything starts with the details.
/release releases the current ip.
/renew reapply for ip.
/flushdns refreshes the dns cache.
/registerdns retransport and register yourself on the dns server.
. . . . . .
10 arp operation current arp cache.
-a shows the arp cache.
-d Delete the cache record.
-s Tian Jia has a cache record.
1 1 nslookup is a powerful tool to eliminate dns errors. Is an interactive tool. Please try to understand the function and working principle of dns before using it.
Xcopy is an external command, that is to say, it is a small program, sometimes it can't be found on floppy disk or hard disk. . . Pass out. . . Of course, courage is better than plagiarism. I like to add the /e parameter.
Smartdrv.exe loads the disk cache, and the parameter is the cache size in kb.
For example, smartdrv 32768 will load a 32M cache.
The role of cache is very obvious when installing WIN2K! It takes about 3 hours to install WIN2K PRO without cache, and only 30 minutes after loading 8M cache.
The principle is to divide an area in the memory, and constantly read the data on the hard disk into that cache area during installation to make full use of the memory.
AT plays the same role as mission planning.
The following is how to use it. You can enter it at the command prompt: AT/? Ask for help.
The AT command schedules commands and programs to run at a specific date and time.
To use the AT command, the scheduling service must already be running.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In [\ \ computer name] [[id] [/DELETE] | /DELETE [/YES]]
At [\ \ computer name] time [/interactive]
[/EVERY:date[, ...] |/Next: date [,...]] "Command"
\\computername specifies a remote computer. If this parameter is omitted, the command will be scheduled to run on the local computer.
\\ 127.0.0. 1 stands for this machine. It means the same as not adding this parameter.
Id an identification number assigned to a predetermined command.
Used to identify tasks. For example, to add several tasks, ID= 1 means the first one!
/delete the command to delete the plan. If the id is omitted,
All scheduled commands on the computer will be deleted.
/yes Use to delete all jobs when further confirmation is not required.
Used with the command.
Time Specifies the time when the command is run.
/interactive allows the job to run with the user logged in at that time.
Interact on the desktop.
/every:date[, ...] Run this command on the specified day every month or week.
If the date is omitted, it will run on this day of each month by default.
/next:date[, ...] specifies to run the command on the next specified date (for example, next Thursday).
If the date is omitted, it will run on this day of each month by default.
"command" Windows NT command or batch program to run.
- Previous article:What software is WeChat Message Assistant?
- Next article:There is no sound or vibration in the short message sent by A9. What happened?
- Related articles
- What should I do if I receive a remittance anti-fraud SMS reminder?
- Notice from Yueyang Disease Control and Prevention on October 30th regarding epidemic prevention and control in Jiangxi
- What's my favorite game? Write a composition of about 300 words.
- Can a minor's bank card be bound to a mobile phone? It belongs to China Construction Bank.
- What's the matter that all the software of OPPO mobile phone has no sound notification when it arrives?
- Why did my mobile phone keep receiving these messages in the afternoon? I sent them all at once and did nothing.
- How did the information of Wisdom Yichang reach others?
- Will BYD inform me of its financial lending?
- I received a text message from the court. Help me see if this is a scam.
- Why didn't the mobile phone receive the message without prompting?