HoHoHo~ I'm more suitable for answering such basic questions.
For question one, just try it yourself. The first sentence originally means to set variable a to empty, so there is naturally nothing on the right side of the equal sign. In fact, it's just deleting variable a. The second sentence means reading the user's input and assigning it to variable a. The sentence "" is a prompt for the user to see. That is, after you execute , the screen displays , and then you enter and press Enter, the value of variable a will be . You can understand it by adding a sentence . The statement that "" is easy to understand. Like the above a is the variable name, can you set a variable named ?
For question two:
You carefully check the help of and will see this sentence , which means replacing all characters or strings in variable with . The help also says that . For example, if the value of variable is , after executing , the value of variable is .
Thus, this sentence can be understood as deleting all quotes in variable and assigning the processed value back to . There are quotes because the character to be processed is a .
Continue. . .
in means case-insensitive. This is easy to understand, you are too lazy, building owner.
The next sentence is the same meaning as the above variable replacement. For example, assume the value of variable is , then ==, which may mean like this (I guess): if it is a.bat file, jump to here .
Answer the last line.
is to expand the value of variable , in fact, it is to read the variable. is just used to represent , because in batch processing, doubling can get one , and means the first parameter of the batch file. You can try creating a new batch file, such as , the file content is only one line , and then call it with the command line to see .
Typing is so tiring~~
[ Last edited by 0401 on 2007-1-21 at 03:18 AM ]
Recent Ratings for This Post
( 12 in total)
Click for details