windows - Update taskbar from batch after creating .lnk in its Folder -


my task here pin 2 shortcuts taskbar batch script.

i have script adapted here, creating 2 shortcuts in %appdata%\microsoft\internet explorer\quick launch\user pinned\taskbar\, , works well. unfortunately taskbar doesn't notice them being created , therefore doesn't show them.

how tell taskbar update itself, adding shortcuts?

it's win10 pcs.

edit: tried pinnerjs.bat, seems there strange problem: contextmenu doesn't see same items contextmenu. made pictures illustrate. item need executed "an taskleiste anheften", 1 directly below "edit notepad++".

i can live using pinnerjs if work, i'd prefer more direct solution (telling taskbar add shortcuts in folder).

edit 2: tried changing pinnerjs script saying "taskbar" german "taskleiste" - didn't work.

my context menu

output showing pinners context menu

try pinnerjs.bat :

call pinnerjs.bat c:\windows\system32\cmd.exe taskbar 

not sure how work shortcut. better directly pin executable.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -