call a a.exe from batch, but bring to front

Posted on 2012-03-27
Last Modified: 2012-06-27
I need to be able to start a .exe file from batch script, but bring it to front of all the other open windows.  How can I do this from inside the batch?
Question by:icecom4
  • 2
LVL 16

Accepted Solution

l33tf0b earned 500 total points
ID: 37774238

start /max notepad.exe
start /min notepad.exe

this forces it to be focused i think and is maximized / minimized.

Expert Comment

ID: 37774914
Awesome tip. Thanks! I didn't know that!

LVL 16

Expert Comment

ID: 37775115
Happy to help!


Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
firstswap challenge 20 65
excel file 5 65
Tviruailstringtree sort multi columns on header click 1 52
Programatically extract date from website 8 65
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
This article will show, step by step, how to integrate R code into a R Sweave document
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now