Jump to content

ShellExecute() with verb "properties"


KaFu
 Share

Recommended Posts

ShellExecute(@WindowsDir & "\notepad.exe", "", "", "properties")

I assumed this would open the file properties, but on my system it returns an error, that no program is associated with running this action.

I'm sorry that you made a false assumption.

The help-file says: "properties = Displays the file or folder's properties", but on MSDN there's no verb "properties". Maybe it's just in error in the help-file.

Anyone got a helpful answer?

Link to comment
Share on other sites

It's a bug regardless of what Valik says.

AutoIt is setting wrong mask for SHELLEXECUTEINFO structure with properties verb.

I should be SEE_MASK_INVOKEIDLIST and AutoIt is using SEE_MASK_NOCLOSEPROCESS.

That's the only reason why it doesn't work.

♡♡♡

.

eMyvnE

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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