My question is answered by Tedob1. But I really thank both of you, gunder and Tedob1, for replying.

Tedob1, could you tell me where your previous post is? I want to study it, but I couldn't find it....sorry, maybe I am not looking real hard as you said....
And why do I need the third line : Echo . >>somename.bat ?
It seems that the batch program works without that line.

And do you know any materials or websites for cscript you mentioned above?

Thank you very much!