Is there a command I can put into a Windows XP .bat file to bring the command shell to the front?
Another way to get the cmd prompt window to show in front is by ending file1.bat with a command to call a second file2.bat file, followed by an exit command.
EXAMPLE using file1.bat
....
[your code here]
start C:\file2.bat
exit
This closes file1.bat and opens a second .bat file where you can continue with your code. This second .bat command prompt will open in front of other windows