Want to make old script which pins shortcuts to taskbar compatible with Windows 10. Found that CSIDL used there is very old and newer method should be KNOWNFOLDERID.
Original code uses this for example
Const CSIDL_COMMON_PROGRAMS = &H17
Set objAllUsersProgramsFolder = objShell.NameSpace(CSIDL_COMMON_PROGRAMS)
Now, if i want to use
FOLDERID_UserPinned
in a similar way, where and how should i put it?