Description

This is an interface for creating and/or modifying Windows shortcuts.

Installation

gem install win32-shortcut

Synopsis

require ‘win32/shortcut’

include Win32

Shortcut.new('c:/test.lnk') do |s|
  s.description       = 'test link'
  s.path              = 'c:/winnt/notepad.exe'
  s.show_cmd          = Shortcut::SHOWNORMAL
  s.working_directory = 'C:/'
end

Notes

This code uses win32ole + wscript behind the scenes.

Known Bugs

None known.

Please report any bugs on the project page at
https://github.com/djberg96/win32-shortcut

Future Plans

None at this time.
Ideas welcome. Please submit them on the project page.

(C) 2003-2016, Daniel J. Berger, All Rights Reserved

License

Artistic 2.0

Warranty

This package is provided "as is" and without any express or
implied warranties, including, without limitation, the implied
warranties of merchantability and fitness for a particular purpose.

Acknowledgements

The original win32-shortcut package was largely based on Aldo Calpini's
Win32::Shortcut Perl module, and I copied some of the documentation as
well.
The current version (0.2.0 and later) is based on a patch by Jano Svitok.

Authors

Daniel J. Berger   
Park Heesob