Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
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:
Could somebody help us with a solution?
Thanks,
Stefaan
Solved! Go to Solution.
Hello,
I want to present the solution provided by Daniel Nordin, that was the solution!
See attached file because the forum does not allow the syntax.
Hi,
I opened Command prompt as Administrator and used information from https://stackoverflow.com/questions/28189137/windows-establish-file-association-to-batch-file page.
ASSOC .250=MY.FILETYPE FTYPE MY.FILETYPE=cmd /c call "D:\users\mh\creo5_parametric\zzz.bat" "%1" %*
Hello,
I want to present the solution provided by Daniel Nordin, that was the solution!
See attached file because the forum does not allow the syntax.