Skip to main content
8-Gravel
May 14, 2025
Solved

How to load a protoolkit application (protk.dat) from user defined location without config.pro

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.

Ben_CAnswer
12-Amethyst
May 14, 2025

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"

6 replies

12-Amethyst
May 14, 2025

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:

Ben_C_0-1747218498076.png

 

 

 

Translate
21-Topaz I
May 14, 2025

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

 

Translate
8-Gravel
May 14, 2025

Yes, I have already tried this & works out.

But I am looking for older Creo version starting from Creo 7.0.0 & above.

 

Thanks

Translate