Solved

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

Posted on 2012-03-27
3
3,004 Views
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?
0
Comment
Question by:icecom4
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
l33tf0b earned 500 total points
ID: 37774238
@ECHO OFF

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


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

Expert Comment

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

Alex
0
 
LVL 16

Expert Comment

by:l33tf0b
ID: 37775115
Happy to help!

Ray
0

Featured Post

Stressed Out?

Watch some penguins on the livecam!

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Starting up a Project

705 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