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?
Solved! Go to Solution.
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" %*