Jump to content
Sign in to follow this  
KaFu

ShellExecute() with verb "properties"

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?

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Yes, but what if I wrote that just to mess with you?

Then you would be a really bad person indeed Posted Image, and that would make little Jesus sad Posted Image...

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...