-----------made by siwuxie095
1. Batching (Batch): Looking at the meaning of the text, the bulk processing of an object, is actually a script
2.DOS (disk Operating system-disks operating system)
3..bat and. cmd files are batch files, but the former is more common
4. Batch processing interpreted by DOS or Windows Embedded command interpreter (Command.com or CMD.exe) to run (similar to the shell script in Unix)
650) this.width=650; "title=" clip_image001[14] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image001[14]" src= "Http://s3.51cto.com/wyfs02/M02/8B/C5/wKioL1hYwZ3j-QkoAAA5RrLq7lI432.png" height= "173"/ >
650) this.width=650; "title=" clip_image002[14] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image002[14]" src= "http://s3.51cto.com/wyfs02/M00/8B/C5/wKioL1hYwZ7DMV_DAAA7hosK49o559.png" height= "144"/ >
5.DOS batch processing is unavoidable in the defense of computer security,
Hackers generally understand DOS commands,
such as PING,IPCONFIG/ALL,NET,TELNET,ETC.
6. The general batch file directly changes the extension (that is, the file suffix name), you can decompile view the source code
7.DOS program has a return code after running, help to debug the program
8. Edit Batch command, all characters must be in English format and half-width state
9. Batch processing only to recognize the number of lines and not recognized. That is, batching is sensitive to line breaks, but it does not matter how many commands are included in a row.
Just use & && | | | Wait for the connection.
10. "-" and "/" equivalent
(-:dash,/:slash,\:backslash "English popularization, add a backslash"),
For example: SHUTDOWN/S equivalent to Shutdown-s
11. File name naming rules:
DOS: Typically 8.3 format, that is: file name 8 characters,
Extension (suffix) 3 characters, file name cannot use the following
11 characters: < >? / \ " . *: | and spaces, the extension determines the file type.
File name in tempor~1 form when file name exceeds 8 characters
(8 characters with a file name: first 6 valid characters +~1,~1 if it already exists)
Under Windows: Allow filenames to be more than 8 characters, the extension is mostly 3 (. docx is 4),
Points. And spaces can appear in the file name, at the last point. The following character is the extension,
9 remaining symbols:< >? /\ "*: | still cannot appear in file name
About Wildcards *: If the current C drive does not have a folder that starts with P, it can be named p*
(Note: A, this refers to the folder, not the file; B, case-insensitive; c, no ...) Just ..... )
If the current C drive has "ProgramFiles" and "Progra" two folders,
Enter C:\>CD pro* and go to the top Progra folder
650) this.width=650; "title=" clip_image003[14] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image003[14]" src= "Http://s3.51cto.com/wyfs02/M01/8B/C5/wKioL1hYwaDCFmmRAABfQgIrTVk923.png" height= "142"/ >
650) this.width=650; "title=" clip_image004[10] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image004[10]" src= "Http://s3.51cto.com/wyfs02/M00/8B/C5/wKioL1hYwaGBjnzaAABdky5FyXs099.png" height= "66"/ >
12. Three ways to view command Help information:
Act One: Use help like help Dir (sometimes it doesn't work)
Method Two: Use x such as Shutdown x (sometimes does not work)
Law III: use/? As for/? (most commonly used)
Store the help information that is paged out in a file:
such as Shutdown/?>shutdown.txt
Save to Notepad (or other editor, I use the sublime), instead. bat,
You can get a shutdown.txt text in the current directory that contains the shutdown command Help information
Again like help/?>help.txt
Get DOS Help Information "NOTE: Don't be too superstitious about DOS help information, obscure"
650) this.width=650; "title=" clip_image005[14] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image005[14]" src= "Http://s3.51cto.com/wyfs02/M01/8B/C5/wKioL1hYwaLwUXgYAABzgDuDL-8333.png" height= "198"/ >
650) this.width=650; "title=" clip_image006[14] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image006[14]" src= "Http://s3.51cto.com/wyfs02/M02/8B/C5/wKioL1hYwaOQXLqyAABh_f9bceg822.png" height= "93"/ >
650) this.width=650; "title=" clip_image007[10] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image007[10]" src= "Http://s3.51cto.com/wyfs02/M02/8B/C9/wKiom1hYwaOhzaomAAAq5KtO4OM035.png" height= "163"/ >
650) this.width=650; "title=" clip_image008[14] "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;margin:0px;padding-right:0px; "border=" 0 "alt = "clip_image008[14]" src= "Http://s3.51cto.com/wyfs02/M02/8B/C5/wKioL1hYwaSggbi5AAA2AWy7Oe0376.png" height= "114"/ >
"siwuxie095"
This article is from the "siwuxie095" blog, make sure to keep this source http://siwuxie095.blog.51cto.com/10974706/1884238
Introduction to DOS Batch processing