Skip to content

Commit

Permalink
Merge branch 'master' into SupportCNG
Browse files Browse the repository at this point in the history
  • Loading branch information
taliesins authored Aug 10, 2017
2 parents 9eda7c2 + 487a55f commit a5940c5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -445,16 +445,16 @@ Creates and modifies Windows shortcuts.

#### Examples

Add a shortcut all users desktop:
Add a shortcut to all users desktop:

```ruby
require 'win32ole'
all_users_desktop = WIN32OLE.new("WScript.Shell").SpecialFolders("AllUsersDesktop")

windows_shortcut "#{all_users_desktop}/Notepad.lnk" do
target "C:\\WINDOWS\\notepad.exe"
target "C:\\Windows\\notepad.exe"
description "Launch Notepad"
iconlocation "C:\\windows\\notepad.exe, 0"
iconlocation "C:\\Windows\\notepad.exe,0"
end
```

Expand Down

0 comments on commit a5940c5

Please sign in to comment.