File Association doing my nut in......

Soldato
Joined
14 Nov 2012
Posts
17,971
Location
Chesterfield
OK, trying to associate Crystal Report extension TRC by the following command...

assoc .trc= TpxScreen.CrystalReport

Now, when checking the association using the following...

assoc .trc

It tells me its correct but checking the 'Associate a file type or protocol with a specific program', the file extension isn't there which tells me the association failed!

WTF is going on here? I can't open the file with a program, hence using the above.
 
If you can't open the file with a program, why do you need to make any file association?

Maybe it doesn't show in 'Associate a file type or protocol with a specific program' because you haven't told it a program to use to open the file.
 
Any reason why you're using command line, or is it for a script?
You will need to tell Windows what program to open the file with using 'ftype' command.
If it's not for a script, why not just right click on a trc file and choosing Open With... Then choose the program's executable exe.
The "Always use the selected program to open this kind of file" tickbox should be ticked by default. That will create the association for you, unless as indicated by Fanatic, you don't have a Crystal Report program installed.
 
Last edited:
And if that option is not available hold shift when right clicking and you should be able to choose "open with" and set it up from there.
 
Back
Top Bottom