On my Windows-10 PC, there are some files with extension .dmupgrade
. Those should be opened with the program C:\Program Files\<Company>\TaskbarUtility.exe
.
I also have another version of TaskbarUtility.exe
on my PC, in the directory C:\<Company>\Tools\TaskbarUtility\
.
For an unknown reason, while double-clicking on the .dmupgrade
file, the program C:\<Company>\Tools\TaskbarUtility\TaskbarUtility.exe
gets opened, so I've tried to change this: I've right-clicked on the *.dmupgrade
file, pressed the Change
button at Opens with
, I chose the file C:\Program Files\<Company>\TaskbarUtility.exe
and pressed Ok
.
While double-clicking, it seems that the program C:\<Company>\Tools\TaskbarUtility.exe
is used again for opening the file.
I've been looking into the registry, at following location:
Computer\
HKEY_CURRENT_USER\
Software\
Microsoft\
Windows\
CurrentVersion\
Explorer\
FileExts\
.dmupgrade\
OpenWithList
This only gives TaskbarUtility.exe
as an answer (without any directory reference). The key HKEY_CLASSES_ROOT\.dmupgrade
exists but is not filled in.
I've checked the PATH
environment variable, and apparently the directory C:\<Company>\Tools
is not present there.
I've checked the C:\Program Files\<Company>\Tools\TaskbarUtility.exe
(using a Ubuntu emulator app), it is not a link to the other program:
Prompt>file TaskbarUtility.exe
TaskbarUtility.exe: PE32 executable (GUI) Intel 80386 Mono/.Net assembly, for MS Windows
So my question is: when I configure a file extension to be opened with a particular program, how does Windows know in which directory to look for this program? Is it possible to handle this using WMIC
commands?
Thanks in advance
assoc .dmupgrade
in a cmd window and look up the value with ftype.