| 
 
lotus516 
高级用户
 
     论坛上抢劫的
  
 
积分 551 
发帖 246 
注册 2006-9-21 
状态 离线
 | 
『第 16 楼』:
 
 
使用 LLM 解释/回答一下
  
谢谢lxmxn兄,对我等新手帮助很大啊! 
Thanks to brother lxmxn, it has been very helpful to beginners like us! 
    
 
  
 |   
 | 
  2007-1-14 03:57 | 
  
 | 
 | 
 
yesmao 
初级用户
 
  
 
  
  
积分 35 
发帖 18 
注册 2007-1-14 
状态 离线
 | 
 | 
  2007-1-14 04:22 | 
  
 | 
 | 
 
netchxing 
初级用户
 
  
 
  
  
积分 58 
发帖 31 
注册 2007-1-6 来自 重庆 
状态 离线
 | 
 | 
  2007-1-14 12:41 | 
  
 | 
 | 
 
wuyugui 
初级用户
 
  
 
  
  
积分 20 
发帖 8 
注册 2007-1-1 
状态 离线
 | 
『第 19 楼』:
 
 
使用 LLM 解释/回答一下
  
太复杂了,看不懂,能不能每行加注解呀 调用和循环过程是怎样的 说一下呀 对于CALL  
goto :eof这个东东我都看不懂,关于这call goto :eof能说明一下吗?谢谢! 
It's too complicated, I can't understand. Can you add annotations to each line? How is the calling and looping process? Please tell me. As for CALL goto :eof, I can't understand this thing. Can you explain the call goto :eof? Thank you! 
    
 
  
 |   
 | 
  2007-1-15 23:48 | 
  
 | 
 | 
 
lxmxn 
版主
 
        
 
  
 
积分 11386 
发帖 4938 
注册 2006-7-23 
状态 离线
 | 
『第 20 楼』:
 
 
使用 LLM 解释/回答一下
  
 
  call 可以调用一些外部命令和内部命令,也可以调用批处理程序内的标签段。这里call :print表示调用这个批处理程序下面的:print程序段。另外,call 还可以加参数调用批程序段。 
 
  goto :eof 如果在一个标签里面,那么就表示跳出此标签,如果在批处理程序其它的位置,表示跳转到批处理程序的结尾出,就表示退出批程序。 
 
  The call can invoke some external commands and internal commands, and can also invoke the label segments within the batch processing program. Here, call :print means invoking the :print program segment below this batch processing program. In addition, the call can also call the batch program segment with parameters. 
 
  goto :eof means jumping out of this label if it is inside a label, and if it is in other positions of the batch processing program, it means jumping to the end of the batch processing program, that is, exiting the batch program. 
 
    
 
  
 |   
 | 
  2007-1-16 04:39 | 
  
 | 
 | 
 
lbqldos 
新手上路
 
 
 
  
  
积分 16 
发帖 7 
注册 2007-2-2 
状态 离线
 | 
『第 21 楼』:
 
 
使用 LLM 解释/回答一下
  
精彩,有学到东西了,3Q! 
Wonderful, learned something, thanks! 
    
 
  
 |   
 | 
  2007-2-2 08:06 | 
  
 | 
 | 
 
lpclimber 
初级用户
 
  
 
  
  
积分 168 
发帖 85 
注册 2005-8-26 
状态 离线
 | 
『第 22 楼』:
 
 
使用 LLM 解释/回答一下
  
强呀!要好好学习一下! 
Wow, that's impressive! Need to study hard! 
    
 
  
 |   
 | 
  2007-3-4 22:14 | 
  
 | 
 | 
 
qingfushuan 
高级用户
 
    
 
  
  
积分 502 
发帖 327 
注册 2006-12-30 
状态 离线
 | 
『第 23 楼』:
 强啊,学习了
 
使用 LLM 解释/回答一下
  
以LZ的实力肯定能够再作一份类似的延时变量.bat,热切盼望中 
With LZ's strength, he can definitely make another similar delay variable .bat. Eagerly looking forward to it. 
    
 
  
 |   
 | 
  2007-3-4 22:42 | 
  
 | 
 | 
 
tianlijian 
初级用户
 
  
 
  
  
积分 120 
发帖 45 
注册 2007-3-13 
状态 离线
 | 
『第 24 楼』:
 
 
使用 LLM 解释/回答一下
  
echo\&pause&cls&echo. 
中的\ 起什么作用 
In the batch command `echo\&pause&cls&echo.`, the backslash (`\`) here is just a literal character. In the context of a batch file, it doesn't have a special syntactic meaning like in some other programming languages. It's probably just part of the text that's being output or manipulated as part of the command sequence. So it's essentially just a character included in the string that the commands are dealing with. 
    
 
  
 |   
 | 
  2007-3-14 04:53 | 
  
 | 
 | 
 
yangzhiyi 
中级用户
 
   
 
  
  
积分 261 
发帖 123 
注册 2006-6-6 
状态 离线
 | 
『第 25 楼』:
 
 
使用 LLM 解释/回答一下
  
强强强,好强,到后面再跳出回来,循环做得真是高。 
Wow, so powerful, really strong. Then it jumps back later, the loop is really well done. 
    
 
  
 |   
 | 
  2007-3-17 09:49 | 
  
 | 
 | 
 
HUNRYBECKY 
银牌会员
 
     
 
  
  
积分 1179 
发帖 442 
注册 2006-9-9 
状态 离线
 | 
『第 26 楼』:
 
 
使用 LLM 解释/回答一下
  
不错。收藏。这方面还没有深入学习 
Not bad. Favorite. Haven't studied this aspect in depth yet 
    
 
  
 |   
 | 
  2007-3-17 11:47 | 
  
 | 
 | 
 
star8289 
新手上路
 
 
 
  
  
积分 12 
发帖 5 
注册 2007-3-15 
状态 离线
 | 
『第 27 楼』:
 
 
使用 LLM 解释/回答一下
  
echo %%var:~%1,%2%%        截取之后的字符为:        !var:~%1,%2! 
                              -------------------这句不甚明了,可以详细的解释下么? 
   谢谢~ 
echo %%var:~%1,%2%%        The characters after interception are:        !var:~%1,%2! 
                              -------------------This sentence is not very clear. Can you explain it in detail? 
   Thank you~ 
    
 
  
 |   
 | 
  2007-3-22 05:01 | 
  
 | 
 | 
 
enliang 
初级用户
 
  
 
  
  
积分 62 
发帖 24 
注册 2007-3-17 
状态 离线
 | 
『第 28 楼』:
 
 
使用 LLM 解释/回答一下
  
新手,还有些看不懂 
Newcomer, still some parts are not understandable 
    
 
  
 |   
 | 
  2007-3-22 05:16 | 
  
 | 
 | 
 
lxmxn 
版主
 
        
 
  
 
积分 11386 
发帖 4938 
注册 2006-7-23 
状态 离线
 | 
『第 29 楼』:
 
 
使用 LLM 解释/回答一下
  
 
Re tianlijian: 
这里的/和 ; , . \ 等符号的作用一样,表示输出一个空行。 
 
Re star8289: 
你可以结合代码的输出来分析它的作用,其中%1和%2代表第一、第二个命令行参数。 
 
Re tianlijian: 
The symbols such as / and ; , . \ here have the same function, indicating to output an empty line. 
 
Re star8289: 
You can analyze its function in combination with the output of the code, where %1 and %2 represent the first and second command line parameters. 
 
    
 
  
 |   
 | 
  2007-3-22 07:51 | 
  
 | 
 | 
 
zzhh612 
中级用户
 
   
 
  
 
积分 278 
发帖 103 
注册 2006-10-21 
状态 离线
 | 
『第 30 楼』:
 好东西值得我们推广.多好的教学手段...
 
使用 LLM 解释/回答一下
  
能不能把批处理命令都做成这种带演示功能的批处理代码.不过这要高手才能完成的事情了,希望有心人去做这件有意义的事情 
Can we make all batch commands into this kind of batch code with a demonstration function. But this is something that only experts can do. I hope someone interested will do this meaningful thing 
    
 
  
 |   
 | 
  2007-3-25 10:06 | 
  
 |