Description: | The following example demonstrates how to pass arguments into a DOS function.
The :myDosFunc function is being called multiple times with different arguments.
Note: The last call to myDosFunc doesn`t use double quotes for the second argument. Subsequently "for" and "me" will be handled as two separate arguments, whereas the third argument "me" is not being used within the function. |
||
Script: | Download: BatchTutoFunc2.bat
|
||
Script Output: |
|