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.

It used to be in Windows XP that I could make Warcraft III files load automatically into the game by double clicking on them. This association was made by going to file associations ADVANCED area and using this line:

"C:\Program Files\Warcraft III\War3.exe" -loadfile "%1"

Note that it takes an argument and an option.

However, in Windows 7, the "Default Programs" > "Set Associations" area doesn't seem to have this advanced area.

Can I still get these files to open automatically?

share|improve this question

3 Answers 3

up vote 19 down vote accepted

I'd recommend Default Programs Editor, which can do this and more.

It has full context menu editing, which would allow you to change the command parameters. Plus, it was designed for Vista/7 with UAC support.

Default Programs Editor Context Menu Editing

Default Programs Editor command details

share|improve this answer
4  
a little more clicking, but I actually like this better than my answer +1! –  jay Feb 17 '13 at 8:41

What you are looking for is File Type Doctor from Creative Element Power Tools.

You get everything back that they, for some reason, removed from Windows Vista onwards.

File Type Doctor preview

Update: for a more modern and simpler solution check out Factor Mystic's answer!

share|improve this answer
    
Oh my, that software looks like it would be extremely useful! +1 –  afrazier Apr 29 '10 at 23:08
    
Creative Element seem to have some cool tools. Thanks for the link :) –  kyrisu Apr 29 '10 at 23:22
1  
Just note that this is Shareware. Check @Factor Mystic's Answer for a free program. –  yakatz Apr 26 '12 at 18:25

It's probably because I had to much caffeine but.. In command prompt:

 ftype w3file="C:\Program Files\Warcraft III\War3.exe" -loadfile "%1"
 assoc .your_extension=w3file
 regsvr32 /i shell32.dll

:) .. just change the names of the type and extension to the one you need :)

share|improve this answer
4  
It's worth checking in HKEY_CURRENT_USER\Software\Classes too because user set associations override those set using ftype and assoc :-( SO ANNOYED with Micro$oft for removing the GUI for this. There are some REALLY common file extensions which require parameters. Java JAR files for example. –  mjaggard Jul 26 '12 at 13:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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