Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inherit options when launching .lnk #120

Closed
Andreasvb opened this issue Sep 13, 2016 · 2 comments
Closed

Inherit options when launching .lnk #120

Andreasvb opened this issue Sep 13, 2016 · 2 comments

Comments

@Andreasvb
Copy link

Would it be possible to run .lnk instead of the target, as it seems to do now?

Example: I have a shortcut to a .bat set to run as admin, but when launching the shortcut it runs without admin (exploring the item opens the folder where the .lnk is.
(Also, opening the properties shows the .bat instead.)

@polyvertex
Copy link
Member

Currently shortcut's command line arguments are prepended to the ones you specified during the search instance, if any. The Run as Administrator option is indeed omitted in this inheritance, this will be supported in a future release.

@polyvertex
Copy link
Member

The Run as Administrator flag in shortcut files is now automatically detected since v2.9.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants