Jump to content

Recommended Posts

Posted

DCS Pilots

 

I got sick of opening DCS, SRS and TIR5 each time individually and sometimes twice because of opening DCS before TIR5, so I created a .bat file to automate opening all .exe's with a double click of one icon in the right order.

 

I thought I'd share the love, if anyone else is sick of opening everything one by one?

 

To do this, first open notepad

 

Type into notepad like so... where S: is my drive letter followed by the file path to the .exe

 

@echo off

cd "S:\Program Files\DCS-SimpleRadio-Standalone\SR-ClientRadio.exe"

start SR-ClientRadio.exe

cd "S:\Program Files (x86)\NaturalPoint\TrackIR5\TrackIR5.exe"

start TrackIR5.exe

cd "S:\Program Files\Eagle Dynamics\DCS World OpenBeta\bin\DCS_updater.exe"

start DCS_updater.exe

exit

 

Save your batch file somewhere relevant.

You will not be able to send your batch file to desktop as a shortcut, so you have to manually create a desktop shortcut. Do this like so...

 

Go to desktop

Right click

Choose new then shortcut

Browse to your new batch file

Give it a name

Give it a DCS icon or whatever icon you want

Send that new shortcut to your taskbar, should you want it there instead.

 

BOOM :D

My Hangar:

F16C | FA18C | AH64D | F14A/B | M2000C | AV8B | A10C/ii | KA50/iii | Chinook | UH1H | OH58 | Gazelle | FC3 | CA | Supercarrier

 

My Spec:

Obsidian750D Airflow | Z690 Tomahawk | 12700K | 128GB DDR4 Vengeance @3600 | RTX3080 12GB OC | ZXR PCIe | WD Black 2TB SSD | Log X56 | Log G502 | TrackIR | 1 badass mutha

  • 9 months later...
Posted

Hi, i did this solution quite similar to yours.
But i added i code line, where i ask if the program is already running, if so the script will skip the exe to the next. Maybe you are interesting in this.

 

::if program allready running then go to :start_matric

tasklist /FI "IMAGENAME eq TrackIR5.exe" 2>NUL | find /I /N "TrackIR5.exe">NUL
if "%ERRORLEVEL%"=="0" goto start_matric

:: if not Start TrackIR 5
C:
cd %ProgramFiles(x86)%\NaturalPoint\TrackIR5\
start TrackIR5.exe
:: Start time for TrackIR 5
timeout 1

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:start_matric

::if program allready running then go to :start_dcs
tasklist /FI "IMAGENAME eq MatricServer.exe" 2>NUL | find /I /N "MatricServer.exe">NUL
if "%ERRORLEVEL%"=="0" goto start_dcs

:: if notStart Matric
C:
cd "Program Files"\"Ex Machina"\"MATRIC Desktop"\
start MatricServer.exe

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:start_dcs

::if program allready running then go to :start_exit
tasklist /FI "IMAGENAME eq DCS_updater.exe" 2>NUL | find /I /N "DCS_updater.exe">NUL
if "%ERRORLEVEL%"=="0" goto start_exit
tasklist /FI "IMAGENAME eq DCS.exe" 2>NUL | find /I /N "DCS.exe">NUL
if "%ERRORLEVEL%"=="0" goto start_exit
:: Start DCS
E:
START bin\DCS_updater.exe

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:start_exit
exit

 

  • Like 1
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...