ady199 Posted September 22, 2012 Share Posted September 22, 2012 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 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:- Help!! Link to comment https://www.neowin.net/forum/topic/1107337-how-can-i-pin-a-vbs-file-to-the-windows-8-taskbar/ Share on other sites More sharing options...
betax Posted September 22, 2012 Share Posted September 22, 2012 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. Link to comment https://www.neowin.net/forum/topic/1107337-how-can-i-pin-a-vbs-file-to-the-windows-8-taskbar/#findComment-595198023 Share on other sites More sharing options...
Max Norris Posted September 22, 2012 Share Posted September 22, 2012 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. Link to comment https://www.neowin.net/forum/topic/1107337-how-can-i-pin-a-vbs-file-to-the-windows-8-taskbar/#findComment-595198037 Share on other sites More sharing options...
ady199 Posted September 22, 2012 Author Share Posted September 22, 2012 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 Link to comment https://www.neowin.net/forum/topic/1107337-how-can-i-pin-a-vbs-file-to-the-windows-8-taskbar/#findComment-595198039 Share on other sites More sharing options...
ady199 Posted September 22, 2012 Author Share Posted September 22, 2012 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 Link to comment https://www.neowin.net/forum/topic/1107337-how-can-i-pin-a-vbs-file-to-the-windows-8-taskbar/#findComment-595198043 Share on other sites More sharing options...
Dot Matrix Posted September 22, 2012 Share Posted September 22, 2012 You can't pin a file directly to the taskbar. One of the above methods will work. Link to comment https://www.neowin.net/forum/topic/1107337-how-can-i-pin-a-vbs-file-to-the-windows-8-taskbar/#findComment-595198053 Share on other sites More sharing options...
Sebastian Swann Posted September 22, 2012 Share Posted September 22, 2012 You can also pin Powershell to your taskbar and then drag script onto Powershell icon. This will pin it to its JumpList and then you can LMB on powershell and pick it from there. Link to comment https://www.neowin.net/forum/topic/1107337-how-can-i-pin-a-vbs-file-to-the-windows-8-taskbar/#findComment-595198063 Share on other sites More sharing options...
MS Bob 11 Posted September 22, 2012 Share Posted September 22, 2012 Easy to use way for future fast pinning/unpinning: Taskbar Pinner Link to comment https://www.neowin.net/forum/topic/1107337-how-can-i-pin-a-vbs-file-to-the-windows-8-taskbar/#findComment-595198065 Share on other sites More sharing options...
Recommended Posts