Auto close program when quitting another program with CMD

TheRene

New Member
Messages
9
Hi,

I want to have a program (B) close automatically when I quit another program (A).

I have created a .bat file, and it looks like this:
start "" steam://run/220260
start /min "" "C:\Program Files (x86)\Orekaria\Gamers Window Relocator\GamersWindowRelocator" GamersWindowRelocator.exe
exit

What I would like to do it have the "GamersWindowRelocator.exe" (B) quit automatically when I exit/quit the first program (steam://run/220260) (A), witch is a game.

Is this possible in CMD?
 

My Computer

System One

  • OS
    Windows 8
    Computer type
    Laptop
    System Manufacturer/Model
    msi GT70
    CPU
    Intel©Core ™i7 -3630QM
    Memory
    12GB DDRlll
    Graphics Card(s)
    Nvidia GeForce GTX 675MX / 2 GB GDDR5
    Sound Card
    Realtek High Definition Audio, Intel(R) Display Audio
    Monitor(s) Displays
    Generic PnP Monitor
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 TB+128GB SSD
    Internet Speed
    25/5
    Browser
    Firefox
    Antivirus
    Norton Internet Security
Back
Top