Change Windows file association for Creo files
Hello guys,
In our company we work with a startup batch script that sets variables and config settings.
If I double click on a Creo file, or open it from our ERP system, Windows has this file (*.prt.1, *.drw.2, *.asm.3 …) associated with Parametric.exe and not our batch script?
If this was for 1 file it is not a problem but it’s for *.1, *.2, *.3, - *.250 and on 10 systems
So, I am looking for an automated way to change file associations.
I tried the following already with no success:
- I found some files in the Creo installation that we tried to change:
- C:\PTC\Creo 5.0.4.0\InstallManager\CommonCreated.reg
- C:\PTC\Creo 5.0.4.0\Parametric\bin\pim\xml\created.reg
- [HKEY_CLASSES_ROOT\.1]
- @="C:\\PTC\\CadCorner_Config_Creo5.00\\0_Bin\\Start_Creo5.bat"
- HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.1
- @="C:\\PTC\\CadCorner_Config_Creo5.00\\0_Bin\\Start_Creo5.bat"
- Tried with the DOS commands Ftype, and Assoc with no good result.
- assoc .1=CreoParametric
- assoc .2=CreoParametric
- assoc .3=CreoParametric
- assoc .4=CreoParametric
- ….
- ftype CreoParametric=C:\PTC\CadCorner_Config_Creo5.00\0_Bin\Start_Creo5.bat
Could somebody help us with a solution?
Thanks,
Stefaan

