![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-06 11:09 |
48,039 topics / 350,124 posts / today 0 new / 48,251 members |
| DOS批处理 & 脚本技术(批处理室) » What does call :begin mean in a batch file? |
| Printable Version 832 / 1 |
| Floor1 chencai0930 | Posted 2007-11-04 21:42 |
| 新手上路 Posts 4 Credits 14 | |
|
call can call another batch file, while :begin is just a label. Can it be called too?
|
|
| Floor2 RocheChild | Posted 2007-11-04 21:48 |
| 初级用户 Posts 44 Credits 110 | |
|
Check the help first before asking questions oh~~~
Calls one batch program from another. CALL [drive:][path]filename [batch-parameters] batch-parameters Specifies the command-line information required by the batch program. If command extensions are enabled, CALL changes as follows: The CALL command now accepts labels as the target of CALL. The syntax is: CALL:label arguments A new batch file context is created by the specified arguments, and control is passed to the statement after the specified label. You must "exit" twice by reaching the end of the batch script file twice. The first time the end of the file is read, control returns to the line immediately after the CALL statement. The second time it exits the batch script. Type GOTO /? to see the description of the GOTO :EOF extension, which allows you to return from a batch script. |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |