VeeamON 2021: Free Online Conference - Register Now VeeamON 2021: Free Online Conference - Register Now

Pinning a specific shortcut file (*.lnk) onto the Windows 7 Taskbar?

Home Forums Scripting Windows Script Host Pinning a specific shortcut file (*.lnk) onto the Windows 7 Taskbar?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    Shazam
    Member
    #163719

    I would like run a VBScript that creates a specific Shortcut file and pin it to the users bottom taskbar.

    I manually created a Shortcut file (*.lnk) and drag it to the taskbar and it works.

    Here’s my Target path:

    “C:Program Files (x86)AdobeAcrobat 9.0AcrobatAcrobat.exe” “\filesDATAHRPhone ListPhoneListPHONELST.pdf”

    My problem is the Acrobat. Everyone has a different version.

    Like…

    Acrobat 8.0
    Acrobat 9.0
    Acrobat 10.0
    Acrobat 11.0

    Is there some kind of wildcard we can use?

    I tried this and it did not work.

    “C:Program Files (x86)AdobeAcrobat “*”AcrobatAcrobat.exe” “\filesDATAHRPhone ListPhoneListPHONELST.pdf”

    Also, I found this link below.

    http://wayneye.com/Blog/Programmatically-PIN-shortcut-Onto-Taskbar-on-Win7

    That it will pin a specific Shortcut file to the bottom taskbar. Anyway we can modify it so it can work like this….

    1.) User Logs into he/she computer.
    2.) It will create a Shortcut file using the user’s Acrobat version.
    3.) Then it will pinned the Shortcut file to the bottom taskbar.

    Please help!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Free Online Conference - May 25th and 26th

VeeamON 2021: Free Online Conference

Join us to gain your professional edge with technical and visionary learning from the brightest minds in IT at the definitive conference for Modern Data Protection.

Register Now

Sponsored By