Draft for Information Only
Content MS DOS Command: CALL
MS DOS Command: CALLReference from Microsoft WinXP cmd help DescriptionCalls one batch program from another. SyntaxCALL [drive:][path]filename [batch-parameters] Parameters
RemarksIf command Extensions are enabled CALL changes as follows: CALL command now accepts labels as the target of the CALL. The syntax is: CALL :label arguments A new batch file context is created with the specified arguments and control is passed to the statement after the label specified. You must "exit" twice by reaching the end of the batch script file twice. The first time you read the end, control will return to just after the CALL statement. The second time will exit the batch script. Type GOTO /? for a description of the GOTO :EOF extension that will allow you to "return" from a batch script. In addition, expansion of batch script argument references (%0, %1, etc.) have been changed as follow: %* in a batch script refers to all the arguments (e.g. %1 %2 %3 %4 $5 ...) Substitution of batch parameters (%n) has been enhanced. You can now use the following optional syntax:
The modifiers can be combined to get compound results:
In the above examples %1 and PATH can be replace by other valid values. The %~ syntax is terminated by a valid argument number. The %~ modifiers may not be used with %*. ©sideway ID: 110700054 Last Updated: 7/16/2011 Revision: 0 Latest Updated Links
![]() ![]() ![]() ![]() ![]() |
![]() Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Travel 18 Reference 79 Computer Hardware 254 Software Application 213 Digitization 37 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 431 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019