Sidewinder. You may call it VB script, but functionally it appears like a batch file to me. So thank you for actually constructing it, rather than just advising me to use VB script. I will 'try it out' - no doubt it will not succeed at first, but maybe with some tinkering, we can tweak it to co-operate. I however am a total ignoramus about VB script, so no doubt will need further help. I do hope your reference to systray rather than taskbar is not a portent of failure.
In case it is of interest, I want to explain why I would want to 'toggle' the QuickLaunch switch. It is because I HAVE EXPERIENCED that the Quick Launch bar may be empty even though there is a tick for Quick Launch in the TaskBar's Toolbar's submenu. But then removing the tick and re-inserting it is effective at repopulating the Quick Launch bar.