How can I pin a .vbs file to the Windows 8 Taskbar?


Recommended Posts

I have a .vbs file which calls the standard "Shut Down Windows" dialog in Windows 8, I want to pin the file to the Windows 8 Taskbar, so I can single click the file for the "Shut Down Windows" dialog to appear

shutdown.png

How can I pin the file to the Windows 8 Taskbar?

I've tried dragging the .vbs file to the Taskbar, but all it does is to put a windows script icon on the taskbar and when I click on it, it just displays the following dialogue box:-

capturexec.jpg

Help!!

This may help you.

1) Create a folder in your computer (perhaps the windows directory) called "Quick Commands" (or any name really) and put your vbs file in that folder.

2) Right-click your taskbar and select Toolbars>New Toolbar and browse to the folder you created that contains your vbs file.

This will allow you to place items like this on your taskbar.

You're actually pinning the script interpreter, not the script itself. It does the same in Windows 7. (bug?) What does work (at least in 7..) is to make a shortcut, edit the properties and change the target to read something along the lines of:

wscript.exe "C:\Full Path\To My\TestScript.vbs"

That one works, again at least in 7.

This may help you.

1) Create a folder in your computer (perhaps the windows directory) called "Quick Commands" (or any name really) and put your vbs file in that folder.

2) Right-click your taskbar and select Toolbars>New Toolbar and browse to the folder you created that contains your vbs file.

This will allow you to place items like this on your taskbar.

Perfect

Many Thanks for your help

You're actually pinning the script interpreter, not the script itself. It does the same in Windows 7. (bug?) What does work (at least in 7..) is to make a shortcut, edit the properties and change the target to read something along the lines of:

wscript.exe "C:\Full Path\To My\TestScript.vbs"

That one works, again at least in 7.

That works - Many Thanks

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Ummmm that is what is it supposed to do. Just turn if off in settings if you do not want it analyzing your open tabs. Chrome does the same thing with Gemini. Sarfari will do the samething after Apple's AI and even more so with the release of their 27 versions that is now powered by Googles LLM/ML models. Understanding why it is doing it and how it can help you vs jumping to some conspiracy theroy is a much better approach. As long as it can be turned off, all is good. Yes the default should be off but the a lot of people would never discover these features.
    • Just another reason (aside from many others) not to use Edge. Firefox 153.0b5 DEx64 has a similar feature added recently in prior builds that I will turn off at some point when I get around to it. It's the new "Something looks suspicious" page that pops up here and there. It cleverly hides itself between web pages that I've actually visited; as a result, you know, of selecting a web page and telling the browser where to go. The interesting thing is that it does not produce these warnings from pages that I, as the only intelligent user of the browser in my system, have ever directed the browser to open! What seems to be happening is that the browser looks at all the goofy ad links on a web page I do actually open and selects one that "looks suspicious" and then creates the "something looks suspicious" web page, which is neatly inserted, as mentioned, between web pages my RB ("real brain") has directed the browser to load in a session. The thing is, I usually look at links I am considering to follow before I ask the browser to load them, and in cases I have noticed where the link does indeed look suspicious, most of the time I will choose to not follow the link at all. Doesn't everyone do this or something similar? I am picky about what I voluntarily load... (I don't like links that start off fine, with a site designaiton that seems normal enough but then is followed by indecipherable alphanumeric strings many, many lines long, etc. I tend to reject those because they look suspicious. They may not be, but I don't care... I'll stay with Firefox, of course, if for no other reason than they usually let you turn off the junk you don't like. And because it isn't Edge... But at some point Microsoft will come to realize that putting your bookmarks on the left side is a Good Thing for a lot of people, just as Microsoft discovered when it had the bright idea of nailing the Windows taskbar to the bottom of the screen, when for decades Microsoft browsers had left that placement up to the user. They have finally reversed the obscenity of that decision. Finally.
    • Google was using the old CATPCHAs data to train their LLMs. What is the say they won't use this camera data of users to train their LLM? these companies need some strict regulations!
    • Depends on what you need. Might be a bit clearer on what you plan to do with it. Sort of a waste if you get the newest and greatest, but don't know how to use it.
  • Recent Achievements

    • One Year In
      BA the Curmudgeon earned a badge
      One Year In
    • Conversation Starter
      rosiecharles earned a badge
      Conversation Starter
    • First Post
      KMilenkoski1202 earned a badge
      First Post
    • First Post
      carols23 earned a badge
      First Post
    • One Month Later
      Tom Willson earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      513
    2. 2
      +Edouard
      258
    3. 3
      PsYcHoKiLLa
      151
    4. 4
      Steven P.
      94
    5. 5
      macoman
      66
  • Tell a friend

    Love Neowin? Tell a friend!