Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update a shortcut's description field
#1
I wonder whether there exists an item to update the description field of a shortcut. I mean something similar to UpdateShortcut.

Many thanks in advance.
#2
This is what I wrote :

Function tempf05
Code:
Copy      Help
str sfil="C:\tmp\a.pdf.lnk"
SHORTCUTINFO sio
GetShortcutInfoEx(sfil &sio)
sio.descr="New Value 2"
_i=CreateShortcutEx(sfil sio)
out _i

Any comments are welcome.
#3
UpdateShortcut - no.
Your code - correct.


Forum Jump:


Users browsing this thread: 1 Guest(s)