Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Can I make a shortcut that runs two programs?

  • Please log in to reply
1 reply to this topic

#1 Danja


  • Members
  • 16 posts
  • Local time:02:50 PM

Posted 28 October 2010 - 06:27 PM

My room mate and I want to play a game which uses the old style save system where there's only one "story" and no options for switching characters/profiles/etc. We want to be able to play at different points in the game and with different settings; to this end I'm writing a program that will quickly interchange the relevant save and settings files when the correct profile is loaded. However, I'm afraid that one of us will forget to run this program and end up overwriting the others' stuff.

Is there a way to make this program run when we click on the shortcut for the game, and have the game run after my program has closed?


BC AdBot (Login to Remove)


#2 Romeo29


    Learning To Bleep

  • Members
  • 3,194 posts
  • Gender:Not Telling
  • Location:
  • Local time:02:50 PM

Posted 28 October 2010 - 08:14 PM

You can make a batch file for doing that. For example, the following batch script runs Windows Notepad waits for it to be closed and after that runs Windows Calculator :

start /wait notepad.exe
start calc.exe

Type the code inside Notepad window, save the file with .bat or .cmd extension, like runme.cmd on your desktop.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users