On my system the batch file is one one instance. I can not even start another instance of it.
When your said "only one instance of batch", what did you mean?
Will the batch file take control of another computer in another country? No.
Will the batch file become Lord and Master of the Windows Operating System? No.
Any batch file has a limited scope of control.
All the batch can do is prevent another instance of itself inside of its own dominion. The batch file itself is a child of CMD.EXE.
When I test this in Windows 7, I can not even get a commend prompt until Note Pad has closed.
I agree with Salmon Trout. You do not understand what your are doing. You should learn a modern scripting language suitable to your needs. Python is a very good choice and currently there are many places where you can find tutorials.
I think you should read this:
Python – a Multiplatform Alternative to Bash/Batch Scripts?The article is very good in making a point. Batch is not good for development of a powerful program that uses all of the features of your computer.
Instead of Python, you could learn to use Ruby. Or even VBA script. Even javascript.
Batch is good for some scenarios. But it is a bad learning tool, unless you enjoy pain.
EDIT: This is not just what I say. Look here:
The Five Best Programming Languages Worth Learning.No matter whether you’re hoping to develop websites, software, games or a bit of everything, expanding your knowledge of different programming languages is essential in today’s ever-changing industry climate.