Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find the actual open command for the file type
Message
From
22/05/2014 01:57:37
 
General information
Forum:
Windows
Category:
Configuration
Environment versions
OS:
Windows 7
Miscellaneous
Thread ID:
01600409
Message ID:
01600427
Views:
46
This message has been marked as a message which has helped to the initial question of the thread.
>>>Hi everybody,
>>>
>>>Do you know if there is a way to find the actual open command line (and change if needed) without loading some extra freeware?
>>>
>>>Say, I just want to find out the exact command for .sql file. I found this blog post
>>>
>>>http://www.thewindowsclub.com/change-file-associations-windows
>>>
>>>and it refers to a freeware utility. Is there a way to find that open command and change it using just the Windows 7?
>>>
>>>Thanks in advance.
>>
>>Type 'Default Programs' in the Start Menu search box
>
>I did. It does allow me to change the default program, but I am looking for the actual open command line. I do not see it in these dialogs.

Think you'll have to dig in the registry to find the open command

(1) under HKEY_CLASSES_ROOT look for dot + extension

eg pdf becomes .pdf

The (default) on the right gives you the name of the application

(2) under HKEY_CLASSES_ROOT\nameOfApplication\Shell\Open\Command you will find the command line

See attached example
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform