neep help with call command within the batch file
Posted: 26 Feb 2010 12:58
I have two batch files..bat1 and bat2
bat1
has some code
if certain error level Call bat2 :starthere
...i want to call bat2 and not run the whole thing but start at certain point
My bat2 is something like this..
:StartHere
Echo bat2
and exit here and dont need to return to bat1.
can you please let me know if i can do this...
Thanks in advance
bat1
has some code
if certain error level Call bat2 :starthere
...i want to call bat2 and not run the whole thing but start at certain point
My bat2 is something like this..
:StartHere
Echo bat2
and exit here and dont need to return to bat1.
can you please let me know if i can do this...
Thanks in advance