- Messages
- 442
- Country
Hi,
I would like to get some info based on the code below. I wanted when running this script via .cmd, it will look for the registry of P3D installed on our pc and will copy the path and paste it to the red fonts in the codes below.
How can we do that?
Thank you.
I would like to get some info based on the code below. I wanted when running this script via .cmd, it will look for the registry of P3D installed on our pc and will copy the path and paste it to the red fonts in the codes below.
C:
@echo off
REM Batch Script for Prepar3D V4
REM Add the current Folder to the Addon Library (add-on.cfg)
set args=-Configure: Category=Add-on Package, Operation=Add, FileLocation=ProgramData, Path=%cd%
call "C:\Lockheed Martin\Prepar3D v4\Prepar3D.exe" "%args%"
How can we do that?
Thank you.