Article - CS175170

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

Modified: 06-Jan-2017   


Applies To

  • Windchill RV&S (formerly Integrity Lifecycle Manager) 4.6/ 8.6 to 11.0
  • 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 PDF version of Article CS175170 and may be out of date. For the latest version click https://www.ptc.com/en/support/article/CS175170