cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Translate the entire conversation x

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

DH_10786687
8-Gravel

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.

ACCEPTED SOLUTION

Accepted Solutions
Ben_C
12-Amethyst
(To:DH_10786687)

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"

View solution in original post

6 REPLIES 6
Ben_C
12-Amethyst
(To:DH_10786687)

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

 

 

 

remy
21-Topaz I
(To:Ben_C)

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.

 

Ben_C
12-Amethyst
(To:DH_10786687)

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!

Announcements


Top Tags