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. 


Marthax

Pin Program to Start Menu UA

Recommended Posts

Hi Everybody!

Does anyone know how to pin a program to the Start-Menu UA?

Thanks in advance!

Marthax

Share this post


Link to post
Share on other sites

This VB script code will do it for you.

Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace("C:\Windows\System32")
Set objFolderItem = objFolder.ParseName("calc.exe")

objFolderItem.InvokeVerb("P&in to Start Menu")

Here's the link to the full explanation:

MS Scripting Guys!

Share this post


Link to post
Share on other sites

You can do it by using a .reg-file too, see this thread.

Share this post


Link to post
Share on other sites
This VB script code will do it for you.

Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace("C:\Windows\System32")
Set objFolderItem = objFolder.ParseName("calc.exe")

objFolderItem.InvokeVerb("P&in to Start Menu")

Here's the link to the full explanation:

MS Scripting Guys!

Nice, thanks, any ideas on how to rename them using vbs?

Share this post


Link to post
Share on other sites

Unfortunately, the VB won't work for me as I've disabled VB support in XP.

That registry method worked great though. Thanks for the help guys!

Edited by Marthax

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...