“Bring to front” for Windows XP command shell
Is there a command I can put into a Windows XP .bat file to bring the command shell to the front? From a batch file, no. If you want to activate a window you have to use SetActiveWindow() . If you don't want to get dirty with windows programming but still want to activate windows and simple stuff like that, I highly recommend checking out Autoit . You could always call this program from your batchfile to have it do the task. nircmd will do this, though it involves a little scripting. nircmd win activate "titleofwindow" You basically need to know the title of the cmd window you are executing