How do I set advanced file associations in Windows 7?
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?
Solution 1:
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.
Solution 2:
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 :)