windowsbatch-filewindows-shell

"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?


Solution

  • 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.