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.

  On 22/09/2012 at 18:40, betax said:

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

  On 22/09/2012 at 18:47, Max Norris said:

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.