Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: pin file to taskbar?


15 Sep 2010   #1

Windows 7 64 bit
 
 
pin file to taskbar?

Is it possible to pin to taskbar a file?
I would like to pin to the taskbar a script.

I can put it inside a folder and pin it though I would like to know if it possible to pin it
as a file.

As much as I know it seems that it is possible...


My System SpecsSystem Spec
.

15 Sep 2010   #2
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Hamilton,

You can drag and drop a .vbs file to the taskbar, but it will pin it in the jump list of wscript.exe instead.

If you wanted a separate icon, then you will have to pin it in a folder as a toolbar instead.

Hope this helps,
Shawn
My System SpecsSystem Spec
15 Sep 2010   #3

Windows 8.1 Pro x64
 
 

Quote   Quote: Originally Posted by hamilton View Post
Is it possible to pin to taskbar a file?
I would like to pin to the taskbar a script.

I can put it inside a folder and pin it though I would like to know if it possible to pin it
as a file.

As much as I know it seems that it is possible...
It is possible, i have done it with my batch file, i will try my best to explain:

1. Pin a program to the taskbar
2. go to
Code:
C:\Users\<USER>\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\
3. Right click the program you just pinned and click properties
4. Change the target: to the location\file (e.g. c:\Test\JDobbsy1987.bat)
and Change the start in: to the location\ (e.g. c:\Test\)
5. Click OK and now when you click that program you pinned to the task bar it will run the script.

Note* when you change the target and start in, you will notice that there is a short cut option below them, if you click in that box and type a letter e.g. s you will see that it changes to CTRL + ALT + S, This means you will be able run the script by clicking the icon or by pressing CTRL + ALT + S,

Hope this helps

Regards,
JDobbsy1987
My System SpecsSystem Spec
.


15 Sep 2010   #4

Windows 7 Pro 64
 
 

Hi Hamilton, If you can find a way to launch your script from the command line with the explicit expression of the associated EXE program + your non exe string, I bet you can do it using a shortcut with the equivalent of that command-line string.

I think the Taskbar (and Startmenu) Pinning, is an area that is still in the pioneering phase. The "pinned-to-taskbar" objects seem to be as different a paradigm as "Shortcuts" when they first appeared.

I have a great fondness for batch files, and I am still struggling to get my essential list "pinned". But it is getting there, after exploring a ton of the posts/tutorials on this forum, Microsoft, the rest of the Internet, and quite a few hours of personal experimentation.

I think I see a dependence on ".exe" files for the purpose of pinning, which strikes me as silly, but there could well be a purpose (e.g. security?) that is just beyond my level of understanding. Whatever, every single item that I have been able to pin has in its properties target, SomethingOrOther.EXE

I have also observed:
1) I cannot pin a data file, but I can pin the command to launch that file from its assoc. .EXE file (cannot pin xxx.HTML, but I can pin "...\Chrome.EXE xxx.HTML...")
2) I cannot pin a folder, but I can pin "explorer.exe D:\MyFolder"
3) I cannot pin a Batch file, but I can pin "CMD.EXE /c (/k,... etc) MyLittleProgram.BAT"
4) When I edit the properties on a Pinned program, (e.g. the icon) it may not stick, but if I make a pinnable shortcut on the desktop, then change its icon, then pin it, I get the desired icon.
5) Frequently, when I have created one of these little non-mainstream pinned items, when it is clicked, it creates a "ghost" object on the taskbar with an unusual icon, rather than the expected "stacking" where I clicked.

Just my fumbling results. If anyone finds a Microsoft "Guide to Pinning" I would love to know about it.
My System SpecsSystem Spec
26 Oct 2010   #5

windows 7 ultimate 32
 
 

Create an empty file somewhere on your disk name it for example test.txt change the name to test.exe ignore the windows warning.

Right click this file, in the menu choose pin to taskbar.
Right click the icon in the taskbar, right click test and choose properties.

Fill in the taget: path to the bat file and the start from field like mentioned above.
My System SpecsSystem Spec
26 Oct 2010   #6

 
 

Quote   Quote: Originally Posted by dimi78 View Post
Create an empty file somewhere on your disk name it for example test.txt change the name to test.exe ignore the windows warning.

Right click this file, in the menu choose pin to taskbar.
Right click the icon in the taskbar, right click test and choose properties.

Fill in the taget: path to the bat file and the start from field like mentioned above.
Simple and effective. Works here. Changing the icon, however, seems a bit problematic.

James
My System SpecsSystem Spec
Reply

 pin file to taskbar?




Thread Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 02:23 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33