|
|
FSFlyingSchool PPL
Group: Forum Members
Last Login: Monday, April 26, 2021 8:38:54 AM
Posts: 13,
Visits: 62
|
|
I wrote this batch file to help with the startup of MSFS and some of the tools that I use with it including FRSUIPC7 and FSFS. It also starts "Landing Rate Monitor" and a Logitech tool for use with my Logitech add-ons, but these can be removed from the file if they aren't useful.
Copy the following into a text file called "Start MSFS.cmd" and save it on your desktop. Then just double click it to run.
@ECHO OFF
CLS
REM Check if LRM is running, and start it if it's not.
tasklist /FI "IMAGENAME eq LRM.exe" 2>NUL | find /I /N "LRM.exe">NUL
if ERRORLEVEL 1 (
c:
cd "C:\Program Files (x86)\Landing Rate Monitor\"
LRM.exe
)
REM Kill these two processes, if they are running using brut force.
taskkill /IM "LogiMicrosoftFlightSimulator.exe" /F 2>NUL
taskkill /IM "FSUIPC7.exe" 2>NUL
REM Start the Flight Simulator and prompt the user for next actions
echo Startinging MSFS 2020
echo.
start shell:AppsFolder\Microsoft.FlightSimulator_8wekyb3d8bbwe!App
timeout /T 5 >NUL
echo After MSFS 2020 has started, start a flight and enter the
echo cockpit. Then press any key to continue and to run FSUIPC7
echo and FSFlyingSchool.
echo.
timeout /T 40 >NUL
REM Wait for the user to press a key before starting FSUIPC7 an FSFS
pause
start D:\FSUIPC7\FSUIPC7.exe
echo.
REM Give FSUIPC7 a little time to start
timeout /T 5 >NUL
"D:\FSFlyingSchool for MSFS 2020\FSFlyingSchool.exe"
(FWIW the editor seems to be double-spacing the lines of the code, but the extra whitespace is not necessary.)
Let me know if you have any questions about the script.
Gil Yoder
Visit Yoder's Youtube Channel
|
|
|
|
FSFlyingSchool Developer
Group: Administrators
Last Login: Saturday, September 28, 2024 9:27:47 AM
Posts: 5,065,
Visits: 9,199
|
|
Hi gilyoder:
Many thanks for sharing this with the forum!
Jeff Preston ('Squadron Leader') - FSFlyingSchool Publisher & Lead Developer
FSFlyingSchool 2023 for Microsoft Flight Simulator
FSFlyingSchool 2023 for X-Plane 12 & 11
FS Instant Approach 2023 for X-Plane 12 & 11 (Windows)
FSFlyingSchool PRO 2020 Prepar3D v 5
FSFlyingSchool PRO 2019 FSX, FSX-SE, FS2004
FSFlyingSchool USA for Microsoft Flight Simulator
FS Instant Approach 2019 for X-Plane 11 (Mac)
FS Instant Approach for Microsoft Flight Simulator
FS Instant Help for FSX, FS2004
Winner of 5 consecutive PC Pilot Magazine 'Classic Product' Awards
Fly like the Pros with X-Plane, Flight Simulator and Prepar3D!
If you wish to unsubscribe simply reply to email with the word UNSUBSCRIBE in the SUBJECT line.
|
|
|
|