Article - CS175170

Usage of environment variables in custom action program definition field is not working in Integrity

Modified: 11-Jun-2024   


Applies To

  • PTC RV&S (formerly Integrity Lifecycle Manager) 4.6/ 8.6 to 13.2
  • Microsoft Windows all releases

Description

  • A batch file using environment variables in the title %HOMEDRIVE%%HOMEPATH%\.mks\Test.bat is working, instead of C:\Users\User_name\.mks\Test.bat
  • Setting the path to the bat file in the Viewset->Customize->Custom-> Customize User button using the variables HOMEDRIVE, HOMEPATH or HOMEDIR, wih the exact name triggers the error Could not launch   %HOMEDRIVE%%HOMEPATH%\.mks\Test.bat : No such file or directory 
This is a printer-friendly version of Article 175170 and may be out of date. For the latest version click CS175170