set pdms_installed_dir=C:\AVEVA\Plant\PDMS12.0.SP6\.
below is what is used in 12.1.1
rem ----------------------------------------------------------------
rem Set pdms_installed_dir to the folder this .bat is running in
rem This line is edited by the installer to point to your chosen folder
rem ----------------------------------------------------------------