From d592325cd2635e99f5687b6873cf1cf4db458b63 Mon Sep 17 00:00:00 2001 From: Stuart Preston Date: Wed, 26 Jul 2017 13:50:33 +0100 Subject: [PATCH] Update example to a version that is idempotent Signed-off-by: Stuart Preston --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 90e9e9c7..53d26f4f 100644 --- a/README.md +++ b/README.md @@ -441,16 +441,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 ```