Jump to content

The "OpenWith" Command Doesn't Work on Win11.


Go to solution Solved by argumentum,

Recommended Posts

Posted

Hello comm.

I have a au3 script command like this and it doesn't work on Win 11 (working on Win11 with manuel enter CMD and working on win 10 Au3 script )

$sFilePath = "C:\Video.mkv"
RunWait(@ComSpec & ' /c OpenWith "' & $sFilePath &'"', "", @SW_HIDE)

Do your have any ideas...

Thx.

Posted

It works if you re-enable the legacy context menus (it does for me anyway).

reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...