Procedure
————————————————————-
:<Procedure Name>
<Algorithm>
goto:eof
————————————————————-
This is the standard template.
Example :
This script is used to get file modified date.
————————————————————-
:TalkALoud
Echo “This is the script”
goto:eof
————————————————————-
This script is used to get file modified date (%1 = parameter 1 ; %2 = parameter 2).
————————————————————-
:TalkALoud
Echo %1 %2
goto:eof
————————————————————-
Function
————————————————————-
:<Function Name>
<Algorithm>
goto:eof
————————————————————-
This is the standard template.
Example :
This script is used to get file modified date (%1 = parameter 1 ; %2 = parameter 2 ; RETURN_VARIABLE = Global Parameter). Globasl Variable is used to return parameter value.
————————————————————-
:TalkALoud
SET RETURN_VARIABLE=%1’%2
goto:eof
————————————————————-