Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



powerdown

Member
  • Content count

    2
  • Donations

    $0.00 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About powerdown

Profile Information

  • OS
    none specified
  1. Command to Pin or Unpin Program from Taskbar

    I use two commands to do this. I got them from somewhere, can't remember where right now. First is a VBscript that preforms the operation you can shange the "Pin to Start Menu" to "Pin to Taskbar" (same for "Unpin...": Set objShell = CreateObject("Shell.Application") set filesystem = CreateObject("scripting.Filesystemobject") Set objFolder = objShell.Namespace(filesystem.GetParentFolderName(Wscript.Arguments(0))) Set objFolderItem = objFolder.ParseName(filesystem.GetFileName(WScript.Arguments(0))) Set colVerbs = objFolderItem.Verbs For Each objVerb in colVerbs If Replace(objVerb.name, "&", "") = "Pin to Start Menu" Then objVerb.DoIt If Replace(objVerb.name, "&", "") = "Unpin from Start Menu" Then objVerb.DoIt Next Then I make a cmd file with the items I want to Pin and point them to the VBScript: cd /d %~dp0 WScript.exe %~dp0PinToStartMenu.vbs "path to app you want to Pin" You can add multiple Items in the cmd file to Pin/Unpin all the items you want.
  2. I don't have much to ad to this other then my overwhelming appreciation. I registered for an account on this site just to get this info.
×