|one more thing about lables. See below example.|
echo I am not in any lable
echo i m in lable1
echo i m in lable 3.
Here, If you say your code to goto lable1, it not just goto lable1 but will execute further all lables like lable2,lable3 all. so using lables if you just want to exeucte that portion of batch then terminate the lable with Goto :eof.
Goto :Eof will tell the command processor to go to end of the file,no further lables is processed.as per my thinking using too much lables in batch file means lot of errors, I would suggest avoide using it until you understand at leeast a ltttle bit how it works.