“Bring to front” for Windows XP command shell

后端 未结 7 1251
误落风尘
误落风尘 2020-12-09 13:20

Is there a command I can put into a Windows XP .bat file to bring the command shell to the front?

7条回答
  •  孤城傲影
    2020-12-09 13:34

    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.

提交回复
热议问题