Sunday, 8 April 2018

Executable of "Open with" dialog on Windows


How can I open the "Open with" dialog in Windows from command line and other programs? Something like openwith.exe myfile or explorer.exe --openwith-dialog myfile



Answer



The "Open with" dialog can be opened from the command line as follows :


Rundll32 Shell32.dll,OpenAs_RunDLL any-file-name.ext

Note that the file-name is not checked for existence before the execution of the dialog, so if the file doesn't exist the "not found" error message will only arrive afterward.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...