Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
Associate a File Type with a Specific Program

How do I change file association via the cmd.exe prompt?

I know this is similar to this question, but I'm only concerned with CMD.

share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007, Tom Wijsman, Paul, Sathya Nov 28 '11 at 4:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Do similar questions where an answer isn't picked, qualify as an exact duplicate question? –  wizlog Nov 28 '11 at 1:05
    
Yes, an answer doesn't have to be accepted by the OP for the question to be the same. –  Paul Nov 28 '11 at 4:00

1 Answer 1

up vote 1 down vote accepted

I'm editing my answer, because you can do it. The FTYPE command, in conjunction with the ASSOC command will let you change file associations.

To find your file type associations, you use the assoc command at the command prompt. Make sure you pipe it to the more filter because the list is quite long and will scroll out of your buffer.

assoc | more

After you know how you want to change the file associations, use the ftype command:

ftype TIFImage.Document="C:\Program Files\MSPVIEW.exe" "%1"
share|improve this answer
    
Your saying its impossible? –  wizlog Nov 28 '11 at 3:52

Not the answer you're looking for? Browse other questions tagged or ask your own question.