Register Subkey to automatically open dwg file

Viewed 97

I want to automatically open DWG file so I need to add DWG subkey on [HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\AttachmentExecute] but I don't know what subkey name for dwg file.

I already add Excel.Sheet.8 subkey to automatically open excel file and it's works perfectly

Can anyone help me?

Thanks in advance

1 Answers

The command-line command assoc "displays or modifies file name extension associations.".

For example, running assoc .xls at a cmd prompt returns .xls=Excel.Sheet.8. The same way, assoc .dwg will return the type associated with .dwg files, provided one was registered.

Related