Skip to content
This repository has been archived by the owner on Feb 19, 2019. It is now read-only.

[Enhancement] Include ability to create generic Windows shortcut (*.lnk), in addition to Desktop ShortCut #235

Closed
gep13 opened this issue Jan 24, 2013 · 4 comments
Labels

Comments

@gep13
Copy link
Member

gep13 commented Jan 24, 2013

Currently, chocolatey provides the ability to create a desktop shortcut:

https://github.com/chocolatey/chocolatey/wiki/HelpersInstallChocolateyDesktopLink

It would be really useful if, in addition to this method, there was the ability to create a generic shortcut. This would include the ability to pass in all the parameters for creating the shortcut, including:

  • Path to shortcut location
  • TargetPath
  • WorkingDirectory
  • Arguments
  • IconLocation
  • Descirption

With the exception of the location and targetPath, these input parameters can be optional, and if not provided, simply not specified when creating the shortcut.

There is no reason to modify the existing Desktop Shortcut creation method as there is enough need for this specific shortcut creation to warrant a stand alone method.

@ferventcoder
Copy link
Contributor

Agreed. A generic shortcut to be placed anywhere would be nice

@GiscardBiamby
Copy link

I'm interested in using this feature once the PR is accepted.

@gep13
Copy link
Member Author

gep13 commented Feb 22, 2013

Hey,

Glad to hear that this will be of some use to you! :-)

Gary

@gep13
Copy link
Member Author

gep13 commented Mar 5, 2014

This has been pulled in here:

201ad95

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants