im just trying to type in two windows at the same time
Again, it is not clear what you mean.
Do you ride two bicycles at the same time? (Very Hard.)
Do you walk two dogs at the same time? (Possible.)
Can you type on two typewrites at the same time? (Clark Kent could.)
For users that need to repeat something many l times, they use tools suitable for doing repetition a number of times. Such are called 'macro' devices or tools.
https://en.wikipedia.org/wiki/Macro_%28computer_science%29 (Thus, they are called "macros" because a big block of code can be expanded from a small sequence of characters.)
In batch you can define macros in a special way. There are not called macros, but they are. On batch can call another batch and pass parameters. For an industrial programmer this serves as a macro.