Batch internal command profile (1)

zhaozj2021-02-16  85

I want to know the batch command is good for beginners, especially in understanding Path, ClassPath, which is helpful to debug JSP in Tomcat.

Batch internal command profile

Hacker security net http://www.hacker81.net

Category: Technical writer: Share Date: 2003-12-17 0:35:24 Views: 268

1, the echo command opens back or shut down request return function, or displays the message. If there is no parameters, the echo command will display the current echo setting. Syntax Echo [{ON | OFF}] [Message] Sample: @echo off / echo hello world In practical applications, we will combine this command and redirect symbol (also known as pipe symbol, generally> >> ^) To enable input some commands to a specific format. This will be reflected in the later examples. 2. The @ command indicates that the @ later command is not displayed during the intrusion process (for example, using batch to format the enemy's hard drive) naturally not let the other party see the command you use. Sample: @echo off @ echo now initializing the program ... @ format x: / q / u / autoset (format This command is not available / y, the grateful is Microsoft left The parameter of Autoet gives us, the effects and / Y are the same.)

3.GOTO command specifies that the jump to the label. After finding the label, the program will process the command starting from the next row. Syntax: goto label (Label is the parameter, specifies the row in the batch program to be turned.) Sample: if {% 1} == {} goto noparmsif {% 2} == {} GOTO NOPARMS (if IF here, % 1,% 2, you don't understand, first jump, there will be detailed explanation. It is meaningful letters, letters before letting: It is used to indicate that this letter is a label, and the goto command is based on this: to find the next step to jump there. It is best to have some explanation that you will understand your intentions.

4.Rem Command Comment command, quite with / * in the C language -------- * /, which does not be executed, just a comment, easy to read and modify it later. Rem Messagesample: @Rem Here Is The Description.

5. Pause command When running the pause command, the following message will be displayed: press any key to turnue.. Sample: @echo off: begin copy a: *. * D: / backecho please put a new disk Into Driver a Pause Goto BeGin In this example, all files on the disk in the drive A are copied to D: / back. Display Note Tips When another disk is placed in the drive A, the PAUSE command will hang the program so that you can replace the disk and press any key to continue processing.

6.Call Command From a batch program to another batch program and does not terminate the parent batch program. The call command accepts the label used as calling the target. If you use Call outside the script or batch file, it will not work on the command line. Syntax Call [[DRIVE:] [PATH] FILENAME [BATCHPARETERS]] [: label [arguments]] parameter [drive:} [path] filename Specifies the location and name of the batch program to be called. The filename parameter must have a .bat or .cmd extension. The 7.start command calls an external program, all DOS commands and command line programs can be called by the start command. Intrusion Common Parameters: MIN Starting Window Minimizes Separate Separated Space In Separated Space Time 16 WINDOWS Program High In the High Priority Category Start Application RealTime Start the application WAIT launch application and wait for it to end Parameters These The application that is transmitted to the parameter executed by the command / program is a 32-bit GUI application, and the cmd.exe does not equal the application to the command prompt. If executed within the command script, the new behavior will not happen.

转载请注明原文地址:https://www.9cbs.com/read-12537.html

New Post(0)