I tried and tried and tried - but IShortCut.Save does not seem to save any changes to an existing LNK-File ?
I am reading the LNK-File (which IShortCut does correctly) and can access all data like params, path etc.
Everything seems fine with that.
But if I change the IShortCut.Path to a new EXE and call SAVE - the LNK-File will not be changed at all....
(even with the TRYTORESOLVE-Param set to false)
Any ideas on that?
// So please set filename to ANY Shortcut in that directory...
Link.Path:='c:\windows\notepad.exe'; // for testing... makes no sense I know
This SHOULD set the Shortcut-Target to the Notepad (or not?).
But it does nothing - the shortcut will be unchanged after this...
I am running WindowsXP (Pro with SP1) and using Delphi6Pro.