New
#1
any way to pin .vbs such that the icon is retained?
Since you bumped this ancient thread I have to ask a related question:
I made a custom iTunes.VBS which in turn calls a RuniTunes.bat. I did this in order to Start and Stop Bonjour service which otherwise finds unusual times to load-up my event log with errors.
Both of these are at C:\, and when I try to pin the iTunes.VBS to the Taskbar, I can't make it do so with a custom icon e.g. the iTunes icon, it only gets a "Microsoft Windows Based Script Host" icon which I can't seem to change. Does anyone know how to make this work?
FWIW the .VBS I run looks like this:
the the RuniTunes.bat is this:Code:Set WshShell = CreateObject("WScript.Shell") WshShell.Run chr(34) & "C:\RuniTunes.bat" & Chr(34), 0 Set WshShell = Nothing
By this method I avoid having a cmd.exe window when I launch, and of course the services are started with iTunes and stopped again when I quit iTunes.Code:net start "Bonjour Service" net start "iPod Service" "C:\Program Files\iTunes\iTunes.exe" net stop "iPod Service" net stop "Bonjour Service"
I currently have a shortcut to the C:\iTunes.VBS file sitting on my Desktop, with the nice, pretty iTunes icon having set Change icon in Properties. But now any way to pin it such that the icon is retained?