If you right-nudge the taskbar button, you’ll see that now that file has been pinned there.

It’s one of those simple tips that can seriously save you some time.

How to Drag Files to the Taskbar to Open Them in Windows 7

Pinned Items

Open with Notepad