Marthax Posted December 18, 2006 Share Posted December 18, 2006 Hi Everybody!Does anyone know how to pin a program to the Start-Menu UA?Thanks in advance!Marthax Link to comment Share on other sites More sharing options...
mmarable Posted December 18, 2006 Share Posted December 18, 2006 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! Link to comment Share on other sites More sharing options...
DL. Posted December 18, 2006 Share Posted December 18, 2006 You can do it by using a .reg-file too, see this thread. Link to comment Share on other sites More sharing options...
benners Posted December 18, 2006 Share Posted December 18, 2006 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? Link to comment Share on other sites More sharing options...
Lost Soul Posted December 21, 2006 Share Posted December 21, 2006 man that is handy thanks Link to comment Share on other sites More sharing options...
Marthax Posted December 21, 2006 Author Share Posted December 21, 2006 (edited) 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 December 21, 2006 by Marthax Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now