Jump to content
Sign in to follow this  
KaFu

ShellExecute() with verb "properties"

Recommended Posts

KaFu

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
trancexx

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
KaFu
trancexx

Thank you both for your helpful answers :idea:.

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

♡♡♡

.

eMyvnE

Share this post


Link to post
Share on other sites
KaFu

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
trancexx

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

What do you mean "indeed"?

You have doubts?

Of course I'm bad. :idea:


♡♡♡

.

eMyvnE

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.