Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.