Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two files, one is a shortcut, the second is a .exe. I need to load the .exe, then the shortcut one after the other, by just starting one executable.

Is there any way of doing this through a program or through windows?

share|improve this question
up vote 1 down vote accepted

You can use a batch file. Create a file with the extension .bat. Then edit this file with a text editor and add your shortcut path and executable path:

"C:\path\to\shortcut.lnk"
"C:\path\to\executable.exe"

If you do not want to wait for the first program to finish before starting the second, then your batch file can contain:

start /B "" "C:\path\to\shortcut.lnk"
"C:\path\to\executable.exe"
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .