high priority category
Realtime starts applications in the realtime priority category
Wait starts the application and waits for it to end
Parameters: these are parameters sent to the command/program.
When the executed application is a 32-bit GUI application, cmd. EXE returns a command prompt before the application is terminated. If it is executed in the Command Script, the new behavior will not occur.
8. Choice command
Choice uses this command to allow users to enter a single character to run d
configuration, so that users can have more general memory to use. HMA occupies the address 100000h ~ 10 ffefh.Extended memory: the area from the end of HMA to the maximum physical memory of the system is the extended memory. When an OS runs in protected mode, it can be accessed, but in real mode, it cannot be accessed (unless using some hacker methods ). Its address range is 10fff0h ~ Last address of system momory (maximum of 4G-1 m ). Technically, HMA is also an extended memory, depending on h
ySelect a for choice/c AB/M "option 1 and B for option 2. "Choice/c AB/N/m "option 1 select a, option 2 select B. "
If I run the command: choice/c ync/M "OK, Press Y, N, or cancel to press C. "The screen displays:Press Y to confirm, N to confirm, or C to cancel. [Y, N, C]?
For example, the content of test. bat is as follows (NOTE: When determining the return value using if errorlevel, sort the returned values from high to low ):@ Echo offChoice/C dimethyl/M "
conjunction with IF. Such as:
Goto END
: End
The echo this are the end
Label used: string indicating that the line of the label is not executed
Choice Use this command to allow the user to enter a character to run different commands. Use should be added/C: parameter, the letter should be written after the prompt can enter characters, no spaces between. Its return code is 1234 ...
such as: Choice/c:dme defrag,mem,end
will display
name to execute command
If you have the specified file, the condition is set, run the command, or run the next sentence. such as if exist Config.sys edit Config.sys
3, if errorlevel the number of orders to be executed
If the return code equals the specified number, the condition is set, the command is run, or the next sentence is run. If the IF errorlevel 2 goto x2 DOS program runs, it will return a number to DOS, called the error code ERRORLEVEL or return code.
The goto batch file runs here
" = = "A" format a:
2, if exist file name to execute command
If you have the specified file, the condition is set, run the command, or run the next sentence. such as if exist Config.sys edit Config.sys
3, if errorlevel the number of orders to be executed
If the return code equals the specified number, the condition is set, the command is run, or the next sentence is run. If the IF errorlevel 2 goto x2 DOS program runs, it will return a number to DOS, called the error code ERRORLEVEL or return
Start application
Realtime starts the application in the Realtime priority category
Wait to start the application and waiting for it to end
Parameters these parameters for transmission to the command/program
Executing the application is a 32-bit GUI application when CMD. EXE does not wait for application termination to return a command prompt. If executed within a command script, the new behavior does not occur.
8.choice command
Choice Use this command to allow the user to enter a character to
error code errorlevel or return code.
GotoWhen the batch file runs here, it will jump to the label specified by Goto, which is generally used with if. For example:
Goto end
: End
Echo this is the end
The label is represented by a string. The row where the label is located is not executed.
ChoiceYou can run different commands by entering a single character. The/C: parameter should be added for use, and C: should be followed by a prompt to enter characters without spaces. Its return code is 1
Label:http://www.cnblogs.com/pingfan1990/p/4558630.html ThemesMongoDBLinux such as: Choice/c:dme defrag,mem,end will show Defrag,mem,end[d,m,e]? sample: sample.bat the contents are as follows: @echo off Choice/end if errorlevel 3 Goto defrag (should first determine the highest error code) if errorlevel 2 goto MEM span class= "keyword" >if errotlevel 1 goto end :
REALTIME priority category start Application Wait to start the application and wait for it to end parameters These are the 32-bit GUI applications that CMD when the application executed for the parameters that are routed to the command/program. EXE returns a command prompt without waiting for the application to terminate. If executed within a command script, the new behavior does not occur. Choice command Choice Use this command to let the user enter a character to run different commands. Use
command
Calling external programs, all DOS commands and command-line programs can be invoked by the start command.
Intrusion Common parameters:
Min Start window minimized
Separate starts 16-bit Windows programs in separate spaces
High priority class Start application
Realtime starts the application in the Realtime priority category
Wait to start the application and waiting for it to end
Parameters these parameters for transmission to the command/program
Executing the application is a 32-bit GUI
.
Example:CHOICE/?CHOICE/C ync/m "Confirm please press Y, no please press N, or cancel please press C." "choice/t 10/c ync/cs/d yCHOICE/C ab/m Option 1 Please select a, option 2, select B. "CHOICE/C ab/n/M "option 1 Please select a, option 2, select B. "
If I run the command: choice/c ync/m "confirm, press Y, please press N, or cancel please press C." "The screen will show:Confirm Press Y, please press N, or cancel, press C. [Y,n,c]?
For example: The contents of the Test.bat are as follows (n
invoked by the start command.
Intrusion Common parameters:
Min Start window minimized
Separate starts 16-bit Windows programs in separate spaces
High priority class Start application
Realtime starts the application in the Realtime priority category
Wait to start the application and waiting for it to end
Parameters these parameters for transmission to the command/program
Executing the application is a 32-bit GUI application when CMD. EXE does not wait for application termination to return a comm
Introduction in Linux, there is a special feature-initializing the memory disk initrd (initial RAM disk) technology, and the kernel supports compressed file system images. With these two features, we can enable Linux to initialize memory disks from an early stage.
Introduction
In Linux, there is a special feature-initializing the memory disk initrd (initial RamDisk) technology, and the kernel supports compressed file system images. With these two fun
The author introduces: Zhang, the Chinese Academy of Sciences Master, continuous entrepreneurs, the founder of Music home app, tabby cat Quick ask co-founder, Link Bao Technology co-founder, concerned about the development of EOS public chain, dedicated to EOS-based DAPP application practice and product research.EOS has recently brushed its eyeballs again. Let EOS brush eyeball is the EOS public chain of Memory (RAM) Price in just 2 weeks from 0.017 E
bash-3.2# PRTDIAG Report General System Information Systems Configuration:vmware, Inc. VMware Virtual Platformbios Configuration:phoenix Technologie S LTD6.00 ./ Geneva/ .= = Processor Sockets ====================================Version location Tag-------------------------------- --------------------------Pentium (R) III CPU Socket #0Pentium (R) III CPU Socket #1= = = Memory Device Sockets ================================Type Status Set Device Locator Bank Locator------- ------ --- -----------
. "
If I run the command: choice/c ync/M "OK, Press Y, N, or cancel to press C. "
The screen displays:
Press Y to confirm, N to confirm, or C to cancel. [Y, N, C]?
For example, the content of test. bat is as follows (NOTE: When determining the return value using if errorlevel, sort the returned values from high to low ):
@ Echo off
Choice/C dimethyl/M "defrag, mem, end"
If errorlevel 3 goto end
If errorlevel 2 goto mem
If errotlevel 1
this command to allow users to enter a single character to run different commands. The/c: parameter should be added for use, and c: should be followed by a prompt to enter characters without spaces. Its return code is 1234 ......
For example: choice/c: dimethyl defrag, mem, endWill displayDefrag, mem, end [D, M, E]?Sample:The content of Sample. bat is as follows:@ Echo offChoice/c: dimethyl defrag, mem, en
help messages.Note:The errorlevel environment variable is set to the key index selected from the selected set. The first option to be listedReturns 1, returns 2, and so on. If the key you press is not a valid choice,The tool generates a warning. If the tool detects an error, it returns the 255Errorlevel value. If you press Ctrl + break or Ctrl + C, the tool returns 0The errorlevel value. When the errorlevel parameter is used in a batch programSort in sequence.Example:Choice /?For choice/c ync/m
Errorlevel value. If you press Ctrl + break or Ctrl + C, the tool returns 0
The errorlevel value. When the errorlevel parameter is used in a batch program
Sort in sequence.
Example:
Choice /?
For choice/c ync/m ", Press Y, N, or C. "
Choice/T 10/c ync/CS/d y
Select a for choice/c AB/M "option 1 and B for option 2. "
Choice/c AB/N/m "option 1 select a, option 2 select B. "
If I run the command: choice/c ync/M "OK, Press Y, N, or cancel to press C. "
The screen displays:
Press Y to confirm, N to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.