Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Description :
How to load a protk.dat in Creo parametric, if the protk.dat file is at a user defined location without editing the config.pro file
Use Case -
I have protk.dat file located at C:\temp & would like to load this application in Creo whenever it is launched.
Also, without copying the .dat file to the <Creo load point>/Common Files/text.
Tried setting up Environment variable "HOME" pointing to C:\temp, but it is not working.
Thanks.
Solved! Go to Solution.
By using 'cd' in the batch file, you can change the current directory before launching Creo,
e.g. to change to the directory the bat file is run from:
cd /d "%~dp0"
"C:\Program Files\PTC\Creo 10.0.0.0\Parametric\bin\parametric.exe"
or to always set it start dir to C:\Temp :
cd /d "C:\Temp"
"C:\Program Files\PTC\Creo 10.0.0.0\Parametric\bin\parametric.exe"
You just need to set the start directory to be where the protk.dat exists, in your case C:\temp
If you have a desktop shortcut, you can modify the properties to change the start directory:
Also if you are using 9.0.2.0 and more you can set the environment variable PTC_CREO_ALT_SETTINGS_PATH
More about it here : https://www.ptc.com/en/support/article/CS384810
Yes, I have already tried this & works out.
But I am looking for older Creo version starting from Creo 7.0.0 & above.
Thanks
Thanks for that.
Is there any other way around as I am launching Creo using a batch file. Can it be done using the environment variable or editing the Creo default registry file or something else.
By using 'cd' in the batch file, you can change the current directory before launching Creo,
e.g. to change to the directory the bat file is run from:
cd /d "%~dp0"
"C:\Program Files\PTC\Creo 10.0.0.0\Parametric\bin\parametric.exe"
or to always set it start dir to C:\Temp :
cd /d "C:\Temp"
"C:\Program Files\PTC\Creo 10.0.0.0\Parametric\bin\parametric.exe"
This helped. Thanks for that!