I believe this may be a problem in the registry. In particular, I think this lies under HKCR
.
I would like you to check some registry data manually first.
WARNING: Editing the registry can be dangerous. You are warned!
First, fire up Registry Editor (run regedit.exe
from the start menu search box).
Then navigate to HKEY_CLASSES_ROOT\.exe
. On the right you should see (Default)
of type REG_SZ
having the data exefile
. Comment below and stop here if this is not on your machine.
Then also navigate to HKEY_CLASSES_ROOT\.lnk
. On the right you should see (Default)
of type REG_SZ
having the data lnkfile
. Comment below and stop here if this is not on your machine.
If you passed the above check, then you can follow the following steps to attempt to fix the problem.
WARNING: Editing the registry can be dangerous. You are warned twice!
The following fixes .exe
files:
Navigate to HKEY_CLASSES_ROOT\exefile\shellex\DropHandler
. On the
right you should see (Default)
of type REG_SZ
, but may not be
having the data {86C86720-42A0-1069-A2E8-08002B30309D}
.
Now, select "File" -> "Export" on the menu to backup the data.
When you've done exporting the data, you should try editing the data
of the item (Default)
. Double-click on (Default)
, then paste the
following value {86C86720-42A0-1069-A2E8-08002B30309D}
and click
"OK" (or press Enter).
The following fixes .lnk
(Windows shortcuts) files:
Navigate to HKEY_CLASSES_ROOT\lnkfile\shellex\DropHandler
. On the
right you should see (Default)
of type REG_SZ
, but may not be
having the data {00021401-0000-0000-C000-000000000046}
.
Now, select "File" -> "Export" on the menu to backup the data.
When you've done exporting the data, you should try editing the data
of the item (Default)
. Double-click on (Default)
, then paste the
following value {00021401-0000-0000-C000-000000000046}
and click
"OK" (or press Enter).
After that, close Registry Editor and restart explorer.exe
. The easy way is to log off then log in.
By default, you can also drop to .bat
, .cmd
and some more file types. If you find that you can't also, find a working Windows 7 machine and copy the corresponding registry values.
Finally figured it out. It was directly related to the switch from 32-bit to 64-bit. Poking around the registry I found the following key was wrong:
HKEY_CLASSES_ROOT\Applications\EXCEL.EXE\shell\open\command\(Default)
Within this key was the following "old" value:
"C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE" "%1"
When I changed it to the correct, new location for Excel, it started working immediately.
"C:\Program Files\Microsoft Office\Office15\EXCEL.EXE" "%1"
Best Answer
The application path used when opening DWG files with double-click (i.e. using
AcLauncher.exe
) is found in the registry under:You could therefore write a simple batch script to alter this path prior to opening your drawings.